Question

My question is how can I go from one portlet to another.

My scenario is this:

The user can view a specific portlet's view.jsp. When he clicks on a button then the page will show the view.jsp of another portlet. Maybe this is called portlet redirection, but I have no idea how to implement this.

Maybe one solution could be different jsp files in the same portlet but I want to navigate through portlets not the jsps.

It would be useful if someone could provide me a sample of code or a reference to a literature that will help me find out how to implement this scenario.

Was it helpful?

Solution

Please refer to below link hope it will help

http://www.liferay.com/community/forums/-/message_boards/message/8408006

or else you can create like this.

LiferayPortletURL anotherPortletURL = PortletURLFactoryUtil.create(request,portletName, 
plid, PortletRequest.RENDER_PHASE);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top