-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.2
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.0.3 S4
-
None
The groupbox.setOpen() method will still update the groupbox._open value, even if the UI action is stopped
Reproduce with:
click the 2nd box caption/title, then the rerender button.
With invalidate: values are re-sent.
With rerender: the local widget value is used and the groupbox is rerendered closed.
<zk xmlns:w="client"> <div id="mydiv"> <groupbox id="gb1" closable="false"> <caption>caption</caption> content 1 </groupbox> <groupbox title="title" id="gb2" closable="false"> content 2 </groupbox> <button onClick="gb1.invalidate();" label="gb1 invalidate"/> <button w:onClick="zk.$('$gb2').rerender();" label="gb2 rerender"/> </div> </zk>