掲示板

liferay-ui tags...

thumbnail
11年前 に sheela mk によって更新されました。

liferay-ui tags...

Regular Member 投稿: 111 参加年月日: 12/02/17 最新の投稿
Hai..Guys..Can anybody,Explain..Those tags and unfamiliar attributes...in liferay-ui....emoticon

Pls if possible explain with User interface..if possible...


<%@include file="/html/init.jsp"%>

<%
Slogan slogan = (Slogan) request.getAttribute(WebKeys.SLOGAN_ENTRY);
%>

<h1><%= slogan.getSloganText() %></h1>

<liferay-ui:ratings className="<%= Slogan.class.getName() %>"
classPK="<%= slogan.getSloganId() %>" type="stars" />

<liferay-ui:panel-container extended="<%= false %>"
id="sloganCommentsPanelContainer" persistState="<%= true %>">

<liferay-ui:panel collapsible="<%= true %>" extended="<%= true %>"
id="sloganCommentsPanel" persistState="<%= true %>"
title='<%= LanguageUtil.get(pageContext, "comments") %>'>

<portlet:actionURL name="invokeTaglibDiscussion" var="discussionURL" />

<liferay-ui:discussion className="<%= Slogan.class.getName() %>"
classPK="<%= slogan.getSloganId() %>"
formAction="<%= discussionURL %>" formName="fm2"
ratingsEnabled="<%= true %>" redirect="<%= currentURL %>"
subject="<%= slogan.getSloganText() %>"
userId="<%= slogan.getUserId() %>" />

</liferay-ui:panel>

</liferay-ui:panel-container>
thumbnail
11年前 に Vitaliy Koshelenko によって更新されました。

RE: liferay-ui tags...

Expert 投稿: 319 参加年月日: 11/03/25 最新の投稿
Hi, Sheela.
These are custom liferay tags. You can check from the source code, that <liferay-ui:ratings .. tag is handled by com.liferay.taglib.ui.RatingsTag and it displays the following jsp page: /html/taglib/ui/ratings/page.jsp
Download the source code and check how the attributes are used.