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

problems with fileupload button in ZK7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.2
    • 7.0.1
    • Components
    • Security Level: Jimmy

      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

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

              Created:
              Updated:
              Resolved: