[jboss-user] [JBoss Portal] - Re: persistent setRenderParameters
do-not-reply at jboss.com
Tue Aug 5 05:26:52 EDT 2008
what is meant by request is a action or render URL.
if the URL target the page of the portlet or another portlet on the same page, then the render parameters remain unchanged.
"anton.evangelatov" wrote : Hello,
| When I call response.setRenderParameter() in processAction, they are not cleared on the next request, even though in the javadoc it is said "These parameters will be accessible in all sub-sequent render calls via the PortletRequest.getParameter call until a request is targeted to the portlet."
| Is this the normal behaviour and I haven't correctly understood the javadoc, or it is a bug?
| If it is the normal behaviour, how can I clear them?
| I am using this method to pass parameters from processAction to doView, but I want to do it only once, meaning that I want the parameters to be cleared at the end of doView for example.
| Currently I am using the PortletSession to do that and I clear the attribute manually, but I don't think this is the right solution.
| Thank you very much in advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168679#4168679
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168679
More information about the jboss-user