You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Jason Novotny <no...@aei.mpg.de> on 2004/11/02 11:33:09 UTC

clearing a render parameter

Hi all,

    According to the portlet spec., the setRenderParamter method should 
be used to pass a parameter in the processAction method to the doView 
method. However, since these parameters are persistent, they will stay 
there when the portlet is re-rendered. How do you either clear out a 
render parameter, or how is it possible to pass a value from 
processAction to doView but have it thrown away afterwards and not 
persisted? (In GridSphere and maybe others, it's possible to use 
request.setAttribute(), but my undersatnding is that not all portlet 
implementations will let you use the attributes to pass vars between 
action and render methods)

    Thanks, Jason