[richfaces-issues] [JBoss JIRA] Resolved: (RF-6230) Support itemValue and itemLabel for rich:comboBox

Anton Belevich (JIRA) jira-events at lists.jboss.org
Mon Feb 16 09:51:54 EST 2009


     [ https://jira.jboss.org/jira/browse/RF-6230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anton Belevich resolved RF-6230.
--------------------------------

    Resolution: Done
      Assignee: Tsikhon Kuprevich


http://www.jboss.org/index.html?module=bb&op=viewtopic&t=146103&postdays=0&postorder=asc&start=0

> Support itemValue and itemLabel for rich:comboBox
> -------------------------------------------------
>
>                 Key: RF-6230
>                 URL: https://jira.jboss.org/jira/browse/RF-6230
>             Project: RichFaces
>          Issue Type: Feature Request
>            Reporter: Felipe Jaekel
>            Assignee: Tsikhon Kuprevich
>
> When using a SelectItem object, only the value property is used.
> The problem is when data is populated from the database, the value property is necessary for holding the entity primary key, since the property that is used as label isn't always unique at the database, like the name property of an Employee entity for example. It has also the problem of having to write extra code to retrieve the entity. Having the ID there are already some entity converters available and when using JPA there is the EntityManager's findById method.

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

        



More information about the richfaces-issues mailing list