Details
Description
Calling:
javax.portlet.ActionResponse.setRenderParameter(String, String) or
javax.portlet.ActionResponse.setRenderParameter(String, String [])
during a call to:
javax.portlet.Portlet.processAction(ActionRequest, ActionResponse)
causes the specified render parameters to be returned by:
javax.portlet.ActionRequest.getParameter(String),
javax.portlet.ActionRequest.getParameterMap(),
javax.portlet.ActionRequest.getParameterNames() and
javax.portlet.ActionRequest.getParameterValues(String)
during the next call to:
javax.portlet.Portlet.processAction(ActionRequest, ActionResponse)
THIS IS INCORRECT.
The specified render parameters should only be available when calling:
javax.portlet.RenderRequest.getParameter(String),
javax.portlet.RenderRequest.getParameterMap(),
javax.portlet.RenderRequest.getParameterNames() and
javax.portlet.RenderRequest.getParameterValues(String)
during a subsequent call to:
javax.portlet.Portlet.render(RenderRequest, RenderResponse)
and should disappear just before the next call to:
javax.portlet.Portlet.processAction(ActionRequest, ActionResponse)
so that they are not available to subsequent calls to:
javax.portlet.Portlet.render(RenderRequest, RenderResponse)
unless explicitly set again.
Attachments
Issue Links
- is duplicated by
-
JS2-231 Render parameters are not cleared properly when a new PortletURL (without these parameters) is invoked
- Closed