Skip to main content

[JIRA] Resolved: (PORTLETSPEC3-41) Some minor changes for the Portlet State proposal

  • From: "msnicklous (JIRA)" < >
  • To:
  • Subject: [JIRA] Resolved: (PORTLETSPEC3-41) Some minor changes for the Portlet State proposal
  • Date: Tue, 27 May 2014 07:58:49 +0000 (UTC)
  • Auto-submitted: auto-generated


     [ 
https://java.net/jira/browse/PORTLETSPEC3-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

msnicklous resolved PORTLETSPEC3-41.
------------------------------------

    Resolution: Fixed

I don't believe these changes are critical, so I just went ahead and fixed 
them. Naturally, I'm open for comments / concerns on them anyway.

See:

[RenderURL.html#getFragmentIdentifier()|http://msnicklous.github.io/portletspec3/apidocs/javax/portlet/RenderURL.html#getFragmentIdentifier()]
[BaseURL.html#append(java.lang.Appendable)|http://msnicklous.github.io/portletspec3/apidocs/javax/portlet/BaseURL.html#append(java.lang.Appendable)]
[BaseURL.html#append(java.lang.Appendable,%20boolean)|http://msnicklous.github.io/portletspec3/apidocs/javax/portlet/BaseURL.html#append(java.lang.Appendable,%20boolean)]
[PortletParameters.html#getParameterNames()|http://msnicklous.github.io/portletspec3/apidocs/javax/portlet/PortletParameters.html#getParameterNames()]
[MutablePortletParameters.html#getParameterNames()|http://msnicklous.github.io/portletspec3/apidocs/javax/portlet/MutablePortletParameters.html#getParameterNames()]
[MutablePortletParameters.html#setParameter(java.lang.String,%20java.lang.String...)|http://msnicklous.github.io/portletspec3/apidocs/javax/portlet/MutablePortletParameters.html#setParameter(java.lang.String,%20java.lang.String...)]
[MutablePortletParameters.html#add(javax.portlet.PortletParameters)|http://msnicklous.github.io/portletspec3/apidocs/javax/portlet/MutablePortletParameters.html#add(javax.portlet.PortletParameters)]


> Some minor changes for the Portlet State proposal
> -------------------------------------------------
>
>                 Key: PORTLETSPEC3-41
>                 URL: https://java.net/jira/browse/PORTLETSPEC3-41
>             Project: portletspec3
>          Issue Type: Improvement
>          Components: Ideas for JSR 362 Extensions
>            Reporter: msnicklous
>            Assignee: msnicklous
>            Priority: Minor
>
> I received a few comments about the portlet state proposal.
> 1) Refers to issue PORTLETSPEC3-13. The current proposal adds four methods 
> to handle fragment identifiers: getFragmentIdentifier, 
> setFragmentIdentifier, isFragmentIdentifierPermitted, and 
> setFragmentIdentifierPermitted. The intention of the "permitted" methods is 
> to be able to suppress a fragment identifier set by the portal. A better 
> way to accomplish that goal would be to drop both of the "permitted" 
> methods and redefine the "get" method to return either the fragment 
> identifier previously set
> by the portal, or that set by the portlet. The portlet could then use the 
> setter to set the value to "null" if no fragment identifier is desired.
> 2) Refers to issue 
> [PORTLETSPEC3-21|https://java.net/jira/browse/PORTLETSPEC3-21]. The "write" ;
> methods on BaseURL that take an Appendable argument should be renamed to 
> "append" and should return the modified Appendable input object in order to 
> allow for chaining.
> 3) In the new MutablePortletParameters#setParameter(String, String[]) 
> method, a null value for the array or an empty array should be allowed.
> 4) Add a new MutablePortletParameters#getParameterNames(String) method that 
> returns a Set, overriding the corresponding PortletParameters method. In 
> the mutable case, removing a parameter from the set will remove that 
> parameter from the PortletParameters object.

-- 
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-41) Some minor changes for the Portlet State proposal

msnicklous (JIRA) 05/27/2014

[JIRA] Resolved: (PORTLETSPEC3-41) Some minor changes for the Portlet State proposal

msnicklous (JIRA) 05/27/2014
 
 
Close
loading
Please Confirm
Close