[jboss-user] [JBoss Portal] - Re: sharing data between render() and processAction() method
bdaw
do-not-reply at jboss.com
Tue Jul 18 12:42:46 EDT 2006
for string values just use:
PortletURL url = response.createActionURL();
| url.setParameter(?paymentMethod?,?creditCardInProfile?);
I'm not sure in which order you want to pass those objects.
If render --> action
Your concerns are correct. Render phase for a portlet can be triggered multiply times with unpredictable order beetween portlets on the same page and you have no influence on this.
If action --> render
You simply use ActionRequest.setAttribute(), RenderRequest.getAttribute() or ActionRequest.setRenderParameter() which is better practice than using a session
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958877#3958877
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958877
More information about the jboss-user
mailing list