-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.2
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.0.2 S2
-
None
The onSelectSubModel event is sent with the next AU request, not directly.
Check the network tab with the following example:
Reproduce with:
<zk> <zscript> ListModelList myModel = new ListModelList(Locale.getAvailableLocales()); ListModel mySubModel = ListModels.toListSubModel(myModel); </zscript> <vlayout id="hl"> <chosenbox id="myCb" style="min-width:75px;" hflex="1" creatable="true" model="${mySubModel}" onSelect='myLb.setModel(new ListModelList(myModel.getSelection()));' name="chosenboxinput"> </chosenbox> <listbox id="myLb"/> <button onClick='System.out.println(myModel.getSelection());'> getSelection </button> </vlayout> </zk>
- relates to
-
ZK-3169 Invalidate on a parent of chosenbox causes selection to disappear using listsubmodel
- Closed