-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a list box with data to select
when i select listitem the selectedItem event generates successfully
But
when is slect the same listitem next time the selecteditem event does not generate
should i refresh the listbox every time i select listitem if yes then how?
Yes, that is the way listbox works - selecting an already selected item does not generate an event. You need to look at onChanging or onChanged or even onClick and work around it. Have a look at http://www.zkoss.org/forum/listComment/13946-A-really-annoying-feature-of-bandbox-listbox
Note that if you use mold=select on the listbox I think it does work but uses the standard browser type dropdown - maybe that is all you need.
Asked: 2011-09-10 05:51:14 +0800
Seen: 90 times
Last updated: Sep 10 '11