Skip to main content

[JIRA] Created: (PORTLETSPEC3-9) Errata: Clarification needed for method MimeResponse.createRenderURL

  • From: "msnicklous (JIRA)" < >
  • To:
  • Subject: [JIRA] Created: (PORTLETSPEC3-9) Errata: Clarification needed for method MimeResponse.createRenderURL
  • Date: Thu, 2 May 2013 14:33:58 +0000 (UTC)
  • Auto-submitted: auto-generated

Errata: Clarification needed for method MimeResponse.createRenderURL
--------------------------------------------------------------------

                 Key: PORTLETSPEC3-9
                 URL: https://java.net/jira/browse/PORTLETSPEC3-9
             Project: portletspec3
          Issue Type: Improvement
          Components: JSR 286 Portlet Specification Errata
            Reporter: msnicklous
            Priority: Minor


The description contains a statement that I believe to be incorrect. It 
states:

"The created URL will per default not contain any parameters of the current 
render request."

However, the created URL I believe must contain any public render parameters 
that were set on
the request. So I would propose the following update:

Original:
-------------------------
createRenderURL

PortletURL createRenderURL()

    Creates a portlet URL targeting the portlet. If no portlet mode, window 
state or security modifier is set in the PortletURL the current values are 
preserved. If a request is triggered by the PortletURL, it results in a 
render request.

    The returned URL can be further extended by adding portlet-specific 
parameters and portlet modes and window states.

    The created URL will per default not contain any parameters of the 
current render request.

    Returns:
        a portlet render URL
-------------------------

Corrected:
-------------------------
createRenderURL

PortletURL createRenderURL()

    Creates a portlet URL targeting the portlet. If no portlet mode, window 
state or security modifier is set in the PortletURL the current values are 
preserved. If a request is triggered by the PortletURL, it results in a 
render request.

    The returned URL can be further extended by adding portlet-specific 
parameters and portlet modes and window states.

    The created URL will per default only the public parameters of the 
current render request.

    Returns:
        a portlet render URL
-------------------------

The same change should be made for the MimeResponse.createActionURL method.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Created: (PORTLETSPEC3-9) Errata: Clarification needed for method MimeResponse.createRenderURL

msnicklous (JIRA) 05/02/2013

[JIRA] Updated: (PORTLETSPEC3-9) Errata: Clarification needed for method MimeResponse.createRenderURL

msnicklous (JIRA) 05/03/2013

[JIRA] Commented: (PORTLETSPEC3-9) Errata: Clarification needed for method MimeResponse.createRenderURL

Neil Griffin (JIRA) 05/14/2013

[JIRA] Commented: (PORTLETSPEC3-9) Errata: Clarification needed for method MimeResponse.createRenderURL

Neil Griffin (JIRA) 05/21/2013

[JIRA] Commented: (PORTLETSPEC3-9) Errata: Clarification needed for method MimeResponse.createRenderURL

rossclewley (JIRA) 05/21/2013
 
 
Close
loading
Please Confirm
Close