0

Fileupload not working after upgrade to ZK 7.0.0

asked 2014-01-03 14:26:00 +0800

chxcxl gravatar image chxcxl
6

Hi, I'm having some problem when work with the Fileupload component, even if I call like button with upload="true". The file upload dialog not appearing when the button is modified. I have to show disable the fileupload button until the user select 1 item from a combobox but the upload dialog is not showing. Even when I try this in ZK Fiddle or Sandbox the behavior is the same so I´m think this is a bug of ZK 7.0.0.

Even with fileupload.get if I cancel the upload the dialog no appear anymore.

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2014-01-07 01:12:10 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi chxcxl,

Did you using a image button for upload? if yes you can try to turn on Preload Image

<window>
    <custom-attributes org.zkoss.zul.image.preload="true" />
    <button image="xxx.png" />
    <image src="xxx.png" />
</window>

http://books.zkoss.org/wiki/ZKComponentReference/EssentialComponents/Image#PreloadImage

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

Follow
1 follower

RSS

Stats

Asked: 2014-01-03 14:26:00 +0800

Seen: 21 times

Last updated: Jan 07 '14

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