0

Problem with Fileupload after upgrade on 7.0.0

asked 2014-02-14 13:22:46 +0800

Extravert gravatar image Extravert flag of Russian Federation
9 1
http://www.fasp.ru/

updated 2014-02-14 13:31:24 +0800

I have problem with Fileupload after upgrade on 7.0.0 It doesn't work in some circumstances or works improperly.

I have done some investigation, so, see the example below.

As you can see:

  1. The first uploader works well.

  2. The second one opens file pickup window, but doesn't fire the onUpload event, and a strange stripe appears below the button after you submit.

  3. The third uploader, which is invisible in the begining, doesn't work after you make it visible.

    <window id="executeActionWindow" width="400px" height="200px" border="normal">
    <vlayout spacing="30px">
        <button id="workingUpload" upload="true"                                                                label="Upload, it works fine :-)" />            
        <button id="workingUploadWithBug" upload="true" autodisable="self"                                      label="Try to upload, it works, but never fires onUpload event :-|" />            
        <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>
    
delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2014-03-28 06:09:44 +0800

cor3000 gravatar image cor3000
6280 2 7

Hi Extravert,

thanks for posting those issues. The problem with the 2nd button is fixed in ZK 7.0.1

<button id="workingUploadWithBug" upload="true" 
    onUpload="alert(event.getMedia().getName());" autodisable="self" 
    label="Try to upload, it works, but never fires onUpload event :-|" />

The event is now being fired.

For the invisible button I posted a bug (ZK-2233) in the ZK tracker for 7.0.2

Regards, Robert

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
2 followers

RSS

Stats

Asked: 2014-02-14 13:22:46 +0800

Seen: 38 times

Last updated: Mar 28 '14

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