-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.1
-
Security Level: Jimmy
-
None
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