-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.5
-
Security Level: Jimmy
-
ZK 7.0.7
Reproducible steps:
1. Click on the icon to open "group1".
2. It is a bug if you didn't see any notification message.
Reproducible sample:
<zk> <zscript><![CDATA[ List head = new ArrayList(); List data = new ArrayList(); head.add("group1"); head.add("group2"); data.add(new ArrayList()); data.add(new ArrayList()); SimpleGroupsModel groupmodel = new SimpleGroupsModel(data, head); for (int i = 0, len = groupmodel.getGroupCount(); i < len; i++) { groupmodel.removeOpenGroup(i); } ]]></zscript> <grid model="${groupmodel}"> <columns> <column label="Col" /> </columns> <template name="model:group"> <group label="${each}" onOpen='Clients.showNotification("Open Group")' /> </template> <template name="model"> <row> <label value="${each}" /> </row> </template> </grid> </zk>