Creating A RENDER URL :
Using tags: (preferred in JSP's)
<portlet:renderURL var="assignAgentTargetURL">
<portlet:param name="agentId" value="<%= String.valueOf(
<portlet:param name="jspPage" value="/html/crm/team/
</portlet:renderURL>
Otherwise: (often used in case you wanna redirect to outside of current Portlet)
ie this type of URL creation is often helpful in case you are in (Portlet A) and wanna redirect to some jsp in(Portlet B).
Note: in such a case you must specify the portletId.portlet-name (refer below : plid) of the target Portlet.
long plid1 = PortalUtil.
LiferayPortletURL url = PortletURLFactoryUtil.create(
------------------------------
Creating A ACTION URL:
Using tags: (preferred in JSP's)
<portlet:renderURL name="assignAgentTarget" var="assignAgentTargetURL">
<portlet:param name="agentId" value="<%= String.valueOf(
</portlet:renderURL>
Otherwise: (often used in case you wanna redirect to outside of current Portlet)
ie this type of URL creation is often helpful in case you are in (Portlet A) and wanna redirect to some jsp in(Portlet B).
Note: in such a case you must specify the portletId.portlet-name (refer below : plid) of the target Portlet.
long plid1 = PortalUtil.
LiferayPortletURL url = PortletURLFactoryUtil.create(
No comments:
Post a Comment