setRenderParameter affects action params
----------------------------------------
Key: JS2-194
URL: http://issues.apache.org/jira/browse/JS2-194
Project: Jetspeed 2
Type: Bug
Components: Container
Versions: 2.0-M2
Environment: Windows XP SP2
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
Tomcat 4.1.29
Reporter: Johnny Rodriguez
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]