Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-194

setRenderParameter affects action params

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-M2
    • 2.0-M3
    • Container
    • None
    • 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

    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

          Activity

            People

              ate Ate Douma
              jokolopo Johnny Rodriguez
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: