-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a combo box in my application, whose values are loaded dynamically based on the selected client. When the customer change, I change the list component bound to the new one and I change the position selected for the first. The problem is that the component index is not reloaded and an IndexOutOfBoundsException occurs. To fix it I had to restart the index of my combobox in my ViewModel as written below:
Combobox combo = (Combobox) Path.getComponent ("/ combo");
combo.setSelectedIndex (0);
Not sure if this is an error or other problem.
Asked: 2013-05-06 16:23:32 +0800
Seen: 9 times
Last updated: May 06 '13
AutoComplete Combobox usage and requirements
Source code of page dosen't change when usinge an Include
my login/index zul page is loading twice, where as i am only calling it once
label in org.zkoss.zul.Messagebox must be middle aligned [closed]
Multiple date constraint prevents calendar days from getting disabled [closed]
Doublebox with format fails at the client side if typed number < 1.0E-6 [closed]
how to increse the font size of a TAB label