Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
mokhtar hatampoor
render url in mvcportlet
October 1, 2012 1:21 AM
Answer

mokhtar hatampoor

Rank: New Member

Posts: 20

Join Date: December 27, 2007

Recent Posts

hi
i am developing a portlet with liferay sdk
i extend action class with mvcPortlet.
in liferay src that extend PortletAction i have processAction and render method for override
but in mvcPortlet just have processAction.
i guess doView method is replacement for render but in render method for forward to jsp i have :
return mapping.findForward(
getForward(renderRequest, "portlet.bookmarks.edit_entry"));
but in doView method what is replacement?
Harish Kumar
RE: render url in mvcportlet
October 1, 2012 2:50 AM
Answer

Harish Kumar

Rank: Expert

Posts: 471

Join Date: July 31, 2010

Recent Posts

1include(viewTemplate, renderRequest, renderResponse);
Tina Agrawal
RE: render url in mvcportlet
October 1, 2012 3:26 AM
Answer

Tina Agrawal

Rank: Expert

Posts: 294

Join Date: January 2, 2008

Recent Posts

Hi,

Or you can even call super.doView and set the needed jspPage page for redirection.

Tina