]
Alexander Dubovsky closed RF-6230.
----------------------------------
Assignee: Alexander Dubovsky (was: Tsikhon Kuprevich)
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: Alexander Dubovsky
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: