[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1589) Add s:selectItems itemValue attribute

Clark Updike (JIRA) jira-events at lists.jboss.org
Thu Sep 20 11:08:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1589?page=comments#action_12377843 ] 
            
Clark Updike commented on JBSEAM-1589:
--------------------------------------

This would be very useful, especially with <s:convertEnum />.  Also, could use a resouce bundle lookup to externalize the labels.

> Add s:selectItems itemValue attribute
> -------------------------------------
>
>                 Key: JBSEAM-1589
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1589
>             Project: JBoss Seam
>          Issue Type: Patch
>          Components: JSF
>            Reporter: Sergey Koshcheyev
>         Attachments: selectItems-itemValue-head.patch, selectItems-itemValue.patch
>
>
> I have implemented itemValue attribute for s:selectItems, to be used like this:
> <h:selectOneMenu value="#{entityId}" required="false">
>     <s:selectItems value="#{listOfEntities}"
>         var="entity"
>         label="#{entity.name}"
>         itemValue="#{entity.id}" />
> </h:selectOneMenu>

-- 
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

        



More information about the seam-issues mailing list