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

problems with fileupload button in ZK7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.1
    • Fix Version/s: 7.0.2
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:

      Description

      Fileupload button which is initially invisible and becomes visible later does not work in ZK 7

      see this example:

      <window id="executeActionWindow" width="400px" height="200px" border="normal">
      <vlayout spacing="30px">
          <button id="workingUpload"        upload="true" onUpload="alert(event.getMedia().getName());" label="Upload, it works fine :-)" />            
          <button id="makeDivVisibleButton" label="Make third upload button visible" onClick="notWorkingUpload.setVisible(true)"/>
          <button id="notWorkingUpload" upload="true" autodisable="self" label="Try to upload, but it doesn't work :-(" visible="false"/>            
      </vlayout>
      </window>
      

      the first button works as expected
      the 3rd button which becomes visible after clicking the 2nd button does not work at all (possibly the same happens in the attached example using tabbox) where an initially invisible upload button becomes visible when changing to the 5th tab

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              noahhuang noahhuang
              Reporter:
              cor3000 cor3000
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: