]
Dan Allen resolved JBSEAM-3003.
-------------------------------
Fix Version/s: 2.0.2.SP1
Resolution: Done
maintain insertion order of parameters in UrlBuilder
----------------------------------------------------
Key: JBSEAM-3003
URL:
http://jira.jboss.com/jira/browse/JBSEAM-3003
Project: Seam
Issue Type: Feature Request
Components: JSF Controls
Affects Versions: 2.1.0.A1
Reporter: Dan Allen
Assigned To: Dan Allen
Priority: Minor
Fix For: 2.0.2.SP1, 2.1.0.BETA1
Attachments: JBSEAM-3003-branch20.txt, JBSEAM-3003-trunk.txt
Original Estimate: 30 minutes
Remaining Estimate: 30 minutes
Right now it is difficult to create UrlRewrite rules because the order of the parameters
jumps around. This happens because the parameters are appended to a plain HashMap (for
s:link, s:button, etc), giving no guarantee to their order. My feeling is that parameters
should maintain their insertion order, which can be accomplished using a LinkedHashMap.
At first, I thought about having the parameters sorted alphabetically. However, that
takes control away from the developer to order the links how they see fit. As long as we
can document the order in which Seam appends parameters, then the developer can predict
the order the parameters will appear in the URL.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: