-
1. Re: combobox/selectItems : label vs. value
radu321 Mar 11, 2010 8:41 AM (in response to smoeker)Hi,
I also had issuees with itemLabel from rich:comboBox it seems that only itemValue is recognize there and itemLabel is build using itemValue.
Regards,
Radu
-
2. Re: combobox/selectItems : label vs. value
smoeker Mar 11, 2010 8:53 AM (in response to radu321)hi radu,thnx for the reply!
what would be best practise, if the selectable items in the bean aren't unique concerning the value i want to show to the user, but have an unique id i want to refer to?
it would be useless to show the ids to the user - but it would even cause trouble to let the user select a non unique entry (showing the label)...
are there efforts to change the selectedItems behaviuor in future releases?
thnx in advance for your reply!
-
3. Re: combobox/selectItems : label vs. value
radu321 Mar 11, 2010 10:05 AM (in response to smoeker)I believe that a converter is need but how it should be implemented i don't know, i run into a similar issue.
http://community.jboss.org/thread/149100?tstart=0
Also i don't know if they will fix or improve behaviour in next versions.
Regards,
Radu