<s:enumItems /> tag
-------------------
Key: JBSEAM-4054
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4054
Project: Seam
Issue Type: Feature Request
Components: JSF Controls
Environment: all
Reporter: Jakub Janczak
Fix For: The future
Create a taghandler that adds to it's parent all the enum values' selectItems of
the desired class.
Something like:
<h:selectOneMenu value="#{value}">
<s:convertEnum />
<s:enumItems class="com.class.EnumClass" />
</h:selectOneMenu>
we could even omit that the class attribute, but it would need us to acces the value of
the select menu before it's rendered (what would be not desired).
Can do it if you want.
--
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