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

showBusy Ignored on Nonvisible Component

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Invalid
    • Icon: Normal Normal
    • None
    • 6.5.0
    • ZK Client Engine
    • None

      A call to showBusy on a component that is not visible is ignored. The problem with this is when a component that may be invisible at the time of the call (say on an inactive tab) later becomes visible (when the parent tab is selected). Try the following zk snippet. It will attempt to perform a showBusy on a div on the second tab when the button is clicked. You can see that unless tab 2 is visible at the time the button is clicked, showBusy will have no effect.

      <zk>
      <tabbox height="200px">
      <tabs>
      <tab label="tab 1" />
      <tab label="tab 2" />
      </tabs>
      <tabpanels>
      <tabpanel />
      <tabpanel>
      <div id="div" height="100%" width="100%" />
      </tabpanel>
      </tabpanels>
      </tabbox>
      <button label="Show Busy" onClick='Clients.showBusy(div, "busy");' />
      </zk>

            Unassigned Unassigned
            martindk martindk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: