Originally posted by viswam konkepudi:
My doubt is portlet:createReturnURI will take us to caller portlet
example like back button in edit to go to view mode.,
You can use '<portlet:renderURL portletMode="view"/>' while creating Back url in Edit mode to go to View mode.
I fi use the portletAPI:actionURI for the action phase will it give the same behaviour or i need to specify the portletMode="view" something like that .,
Specifying portletMode="view" or "edit" while creating an action url depends whether its required to bring the portlet into View mode or Edit mode after the action phase.
e.g. The action url <portlet:actionURL portletMode=�edit�> will bring the portlet to Edit mode after the action phase, and the url <portlet:actionURL portletMode=�view�> will bring the portlet to View mode after the action phase.
You can always refer the Portlet Tag Library in the
JSR-168 Portlet Specification for more detail on actionURL and renderURL, like when to use, how to use, how to pass parameters etc.
[ February 25, 2008: Message edited by: Hemant Sharma ]