-
1. Re: rich:comboBox not supporting selectItem labels
shadowcreeper Aug 5, 2008 8:12 PM (in response to alan79)have you tried tomahawk t:selectItems ???
-
2. Re: rich:comboBox not supporting selectItem labels
alan79 Aug 6, 2008 6:04 AM (in response to alan79)No, I was acutally using the jsf/core f:selectItems..
Is it working with tomahawk t:selectItems? -
3. Re: rich:comboBox not supporting selectItem labels
ilya_shaikovsky Aug 6, 2008 10:03 AM (in response to alan79)Discussed numerous times and describen in specification and developer guide..
comboBox designed as an input component with client side suggestions. Not a select one. So only value taken from selectItems in order to defined both representation and value. In general selectItems support added only for declarative definition possibility. suggestedValues binding attribute could be pointed to some List of suggestions. -
4. Re: rich:comboBox not supporting selectItem labels
alan79 Feb 23, 2009 4:43 AM (in response to alan79)I use now a converter. The converter provides the values as Strings:
Firstname Lastname (contactId)
After selection the contactId is extracted out of the brackets. This allows me to reselect the contact by the id. This seems not to be the best solutions but it works out for me.