Yes, please refer to sample at gist: https://gist.github.com/benbai123/7332482
benbai ( 2013-11-07 06:19:27 +0800 )edit-
FEATURED COMPONENTS
First time here? Check out the FAQ!
When i use ListModel with bean collection, how can i show the description after selecting, currently only way i am just doing by adding toString in the bean ? Whether it have value or label property ?
Yes you can check how-can-start-with-zk-chosenboxdemo-code may it help you.
Can some one help to convert this demo http://www.zkoss.org/zkdemo/combobox/chosenbox using java bean
Hi, if you don't like override toString in JavaBean, then converter is the only choice.
Here is the sample modify from zkdemo
Thank you vincent for detail example. One more help please, after selecting 3 or 4 items, i need to handle onClick event for each item ? is that possible ?
Yes, please refer to sample at gist: https://gist.github.com/benbai123/7332482
benbai ( 2013-11-07 06:19:27 +0800 )editThank you benbai once again. Excellent one. Again i am sorry, one more request, currently i need to limit the selection of items i.e user can select only 10 items. I tried to setup the counter onSelection event, but component support removing the items either by clicking the X button or back space, so here i need to decrease the count. Can you please tell me which is the event to listen here ?
Asked: 2013-10-09 14:50:24 +0800
Seen: 47 times
Last updated: Nov 07 '13
How to let chexkbox horizontally arranged
Choosenbox : selectedObjects background color
extend the chosenbox component
radiogroup onCheck/onChange not calling to the binded command
Tooltips in chosenbox elements
Customize chosenbox emptymessage styling
Can't catch onSearch event when using SimpleListModel with chosenbox
Thank you joshi. Can we do without tostring method in java bean
Senthilchettyin ( 2013-10-14 08:55:04 +0800 )edit