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

The listbox in the second tab of Tabbox renderer a wrong content while the tabpanel show up

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 6.0.2, 5.0.12
    • 5.0.11, 6.0.1
    • Components
    • Security Level: Jimmy
    • None

    Description

      <zk>
      	<button label="showPage">
      		<attribute name="onClick"><![CDATA[
      			drillList.getChildren().clear();
      			for (int i = 0; i < 2; i++) {
      				Listitem li = new Listitem();
      				li.appendChild(new Listcell("trackName " + i));
      				drillList.appendChild(li);
      			}
      			pages.setSelectedIndex(1);
      		]]></attribute>
      	</button>
      	<tabbox id="pages" hflex="1" vflex="1">
      		<tabs height="0px">
      			<tab />
      			<tab />
      		</tabs>
      		<tabpanels>
      			<tabpanel></tabpanel>
      			<tabpanel>
      				<listbox id="drillList" height="500px" />
      			</tabpanel>
      		</tabpanels>
      	</tabbox>
      </zk>
      

      Attachments

        Activity

          People

            neillee neillee
            jimmyshiau jimmyshiau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: