[
http://jira.jboss.com/jira/browse/JBSEAM-3004?page=comments#action_12418658 ]
Stephen Friedrich commented on JBSEAM-3004:
-------------------------------------------
Wow, thanks for the very fast commit.
I tested the code with a little example, of course. Items were escaped by default even
without your change (because HtmlSelectItems.getEscape() never returns null anyway). But
you're right - the old code was wrong. I'll try and be more careful next time
(JBSEAM-2148?)
Add "escape" attribute to s:selectItems
---------------------------------------
Key: JBSEAM-3004
URL:
http://jira.jboss.com/jira/browse/JBSEAM-3004
Project: Seam
Issue Type: Feature Request
Components: JSF Controls
Reporter: Stephen Friedrich
Assigned To: Pete Muir
Fix For: 2.1.0.BETA1
Attachments: selectItems.escape.patch
SelectItem has an "escape" property.
However currently I can't specify that property in Seam's selectItems tag, so I
have to fallback to the old, inconvenient style of manually creating SelectItem instances
in Java code.
Please add support for that.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira