Related questions
Liferay <portlet:actionURL>
In my jsp I have the following code:
<portlet:actionURL name="addDetails" var="addDetailsURL" />
<aui:form name="addDetails" action="<%=addDetailsURL.toString() %>" method="post" >
<aui:input type="text" label="name:" name="name" value="" />
&…
Getting all users with a Role in Liferay
I'm new to Liferay development in general, so feel free to point out if I'm going about stuff totally the wrong way.
I'm trying to get a DynamicQuery object of all users within a certain group (I'll use this object …
Get Layout Friendly URL In Liferay
I want to get a friendly URL for a layout based on layout id. For example, /web/group/page. Currently this is how I do it:
Layout layout = LayoutLocalServiceUtil.getLayout(groupId, false, layoutId);
String groupFriendlyUrl = GroupLocalServiceUtil.getGroup(groupId).getFriendlyURL(); //will …