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

Sergey Koshcheyev (JIRA) jira-events at lists.jboss.org
Thu Sep 20 11:59:10 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1589?page=comments#action_12377858 ] 
            
Sergey Koshcheyev commented on JBSEAM-1589:
-------------------------------------------

I'm not talking about labels there (that's indeed there, and in my example as well). I needed to be able to control the item values.

> 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