-
Bug
-
Resolution: Fixed
-
Major
-
6.0.2, 5.0.12, 6.5.1
-
Security Level: Jimmy
-
None
As code below:
1. The first tabpanel will not be hidden with visible="false".
2. Click test button twice to hide first tabpanel, select another tab then select first tab, the first tabpanel is showed up.
<zk> <tabbox width="500px"> <tabs> <tab label="First Tab" /> <tab label="Second Tab" /> <tab label="Third Tab" /> </tabs> <tabpanels> <tabpanel id="firstTabPanel" visible="false"> First Panel<textbox value="first"></textbox> </tabpanel> <tabpanel> Second Panel<textbox value="second"></textbox> </tabpanel> <tabpanel> Third Panel<textbox value="third"></textbox> </tabpanel> </tabpanels> </tabbox> <button label="test" onClick="firstTabPanel.setVisible(!firstTabPanel.isVisible());" /> </zk>