problem with upload file

asked 2017-05-29 15:14:15 +0800

alexamm gravatar image alexamm
102 2

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

delete flag offensive retag edit


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 )edit

which 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 )edit

i 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

1 Answer

Sort by ยป oldest newest most voted

answered 2017-06-13 02:16:48 +0800

cor3000 gravatar image cor3000
5262 2 7
ZK Team

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.


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2017-05-29 15:14:15 +0800

Seen: 20 times

Last updated: Jun 13 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More