10 August, 2011

Retrieve portleturl

Hello Guys,


Might be below 2 lines would help you to get portleturl object in liferay :

long plid = PortalUtil.getPlidFromPortletId(themeDisplay.getScopeGroupId(), portlet.getPortletId());
PortletURL viewURL = new PortletURLImpl(request, portlet.getPortletId(), plid , PortletRequest.RENDER_PHASE);

Rate Me:

Liferay 7.3 compatibility matrix

Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...