-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a problem with a upload file, i have a button with the attribute upload="true", when i click and select the file in the dialog and click Ok, nothing happend, only show something in the botom of the button.
here is a screenshoot: pasteboard.co/c9mZBaZXa.png
the code of the button only has:
Media media = event.getMedia();
event becomes from a UploadEvent
When I run your fiddle example (with 7.0.0) I can reproduce the same issue just as on your screenshot (Note there is a version drop-down next to the "run" button).
When selecting any version above 7.0.0 (e.g. 7.0.3) the problem disappears. So please upgrade your ZK version since this problem has already been fixed.
Robert
Asked: 2017-05-29 15:14:15 +0800
Seen: 20 times
Last updated: Jun 13 '17
I resolve the problem, with the property
doesn't work the upload event! I don't known that is bug
alexamm ( 2017-05-29 19:24:25 +0800 )editwhich version did you use? did you try with the latest ZK version? can you provide a running example on http://zkfiddle.org/? Then I can have a closer look.
cor3000 ( 2017-06-12 02:52:09 +0800 )editi use the 7.0.0 version, maybe for that reason. The code works on http://zkfiddle.org/sample/22msf7v/1-upload-button , but on my eclipse kepler doesn't
alexamm ( 2017-06-12 13:50:42 +0800 )edit