掲示板
Problem with <liferay-ui:selection> tag
12年前 に Madhava Reddy Solipuram によって更新されました。
Problem with <liferay-ui:selection> tag
Junior Member 投稿: 45 参加年月日: 11/06/27 最新の投稿
Hi,
I am using <liferay-ui:selection> tag
I am getting some JspException while running the code.
How to use <liferay-ui:selection>
my code is:
<%
String tabs1 = ParamUtil.getString(request, "tabs1", "Gmail");
PortletURL portletURL = renderResponse.createRenderURL();
portletURL.setWindowState(WindowState.NORMAL);
portletURL.setParameter("struts_action", "/source/connect/glogin");
String tabNames = "Gmail,Orkut,Twitter";
%>
<liferay-ui:icon
image="add_user"
message="skip-to-next-step"
url="<%= AddUserExpURL %>" >
<liferay-ui:selection>
<c:if test='<%= tabs1.equals("Gmail") %>'>
<liferay-util:include page="/html/portlet/SourceConnect/gmail.jsp" />
</c:if>
</liferay-ui:selection>
<liferay-ui:selection>
<c:if test='<%= tabs1.equals("Orkut") %>'>
<liferay-util:include page="/html/portlet/SourceConnect/orkut.jsp" />
</c:if>
</liferay-ui:selection>
</liferay-ui:tabs>
I am using <liferay-ui:selection> tag
I am getting some JspException while running the code.
How to use <liferay-ui:selection>
my code is:
<%
String tabs1 = ParamUtil.getString(request, "tabs1", "Gmail");
PortletURL portletURL = renderResponse.createRenderURL();
portletURL.setWindowState(WindowState.NORMAL);
portletURL.setParameter("struts_action", "/source/connect/glogin");
String tabNames = "Gmail,Orkut,Twitter";
%>
<liferay-ui:icon
image="add_user"
message="skip-to-next-step"
url="<%= AddUserExpURL %>" >
<liferay-ui:selection>
<c:if test='<%= tabs1.equals("Gmail") %>'>
<liferay-util:include page="/html/portlet/SourceConnect/gmail.jsp" />
</c:if>
</liferay-ui:selection>
<liferay-ui:selection>
<c:if test='<%= tabs1.equals("Orkut") %>'>
<liferay-util:include page="/html/portlet/SourceConnect/orkut.jsp" />
</c:if>
</liferay-ui:selection>
</liferay-ui:tabs>