[seam-issues] [JBoss JIRA] Closed: (JBSEAM-3535) don't add parameter to Url if value is null

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Jan 22 09:21:32 EST 2010


     [ https://jira.jboss.org/jira/browse/JBSEAM-3535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed JBSEAM-3535.
-----------------------------



> don't add parameter to Url if value is null
> -------------------------------------------
>
>                 Key: JBSEAM-3535
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3535
>             Project: Seam
>          Issue Type: Feature Request
>          Components: JSF Controls
>    Affects Versions: 2.1.0.CR1
>            Reporter: Dan Allen
>            Assignee: Dan Allen
>             Fix For: 2.1.0.GA
>
>         Attachments: JBSEAM-3535.txt
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> When the value of a parameter declared inside of a Seam UI command control using <f:param> is null, then it should not be appended to the URL. Currently, it is appended with a blank value. The problem is that there is a difference between an empty string (blank value) and not being present. Additionally, by setting the value to null (or leaving off the value attribute), it provides a way to suppress a parameter from being added the URL.
> Assuming the link was defined as follows:
> <s:link view="/UserEdit.xhtml">
>   <f:param name="userId"/>
> </s:link>
> The URL should be:
> /UserEdit.seam
> This might override a page parameter for instance.

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

        


More information about the seam-issues mailing list