]
Dan Allen resolved JBSEAM-3535.
-------------------------------
Resolution: Done
Rolled back in branch, only applied to trunk.
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: