-
Bug
-
Resolution: Fixed
-
Normal
-
5.0.9
For example,
<zk> <zscript><![CDATA[ String[] data = new String[10]; for (int i = 0; i < data.length; i++) data[i] = "option " + i; ListModelList model = new ListModelList(data); ]]></zscript> Please click the button and you shouldn't see any exception <button label="clean model"> <attribute name="onClick"> // reset model listbox.setModel(null); </attribute> </button> <listbox id="listbox" model="${model}" onSelect=""> <listhead><listheader label="column" sort="auto"/></listhead> </listbox> </zk>