Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-660

Dynamically generated accordion tabs cannot be closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • 5.0.9
    • Components
    • Security Level: Jimmy

      <zk>
             <tabbox id="tabbox" mold="accordion" width="400px">
                 <tabs id="tabs"></tabs>
                 <tabpanels id="tabpanels"></tabpanels>
             </tabbox>
             <button id="add" label="add">
             		<attribute name="onClick">
             		<![CDATA[
      				Tab tab = new Tab();
      				tab.setClosable(true);
      				tab.setParent(tabs);
      				tab.setLabel("tab");
      				Tabpanel tabpanel = new Tabpanel();
      				tabpanel.setParent(tabpanels);
      				Label label = new Label("tabpanel");
      				label.setParent(tabpanel);
             		]]>
             		</attribute>
             </button>
      </zk>

            benbai benbai
            matthewgo matthewgo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: