[
http://jira.jboss.com/jira/browse/JBSEAM-709?page=all ]
Peter Muir resolved JBSEAM-709.
-------------------------------
Resolution: Done
Added <s:selectItems value="#{foos}" var="foo"
label="#{foo.label}" noSelectionLabel="Please Select..."
hideNoSelectionLabel="true" disabled="#{foo.disabled}" />
The version on the wiki also includes:
* the cache attributes (which don't currently work; if sufficient interest s:cache
should be fixed to provide support)
* a 'key' attribute which allows the user to specify the value similarly to label.
I think that using a converter is always a better option, but easy to add in if needed.
* a enum converter (Seam has one already)
* a entity converter (which I will package up seperate from the rest of SelectItems stuff)
- this should be considered for inclusion at a later date.
Add s:selectItems tag to seam-ui
--------------------------------
Key: JBSEAM-709
URL:
http://jira.jboss.com/jira/browse/JBSEAM-709
Project: JBoss Seam
Issue Type: Feature Request
Components: JSF
Reporter: Peter Muir
Fix For: 1.1.5.GA
This is based on
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamSelectItemsNewDesign .
Initially just add in the core (tag not but not the converters)
--
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