[ 
https://issues.apache.org/jira/browse/WICKET-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477286#comment-13477286
 ] 

Sven Meier commented on WICKET-4623:
------------------------------------

Note that MultipartServletWebRequestImpl uses #getUploadInfo() itself. So in 
rare cases it could mark the uploadInfo as readOnce and remove it from session 
already before the UploadStatusResource has accessed it. Wouldn't that make the 
progressbar running forever?

What about making ProgressBar smarter (i.e. let it extend FormComponentPanel) 
so that it updates itself on ajax form submit? No need then for the 
UploadStatusResource to signal the end of upload. It could just return "0|" 
when no info avaiable, as you've changed it.
                
> UploadProgressBar does not show up if the form submitted by AjaxButton or 
> AjaxLink
> ----------------------------------------------------------------------------------
>
>                 Key: WICKET-4623
>                 URL: https://issues.apache.org/jira/browse/WICKET-4623
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.5.7
>         Environment: Win 7 64bit, jetty, netbeans 7.1, jdk1.6.0_30
>            Reporter: Sandor Feher
>              Labels: Ajax, UploadProgressBar,
>         Attachments: WICKET-4623.patch
>
>
> If I submit the form normal submit button then the progressbar shows up. If I 
> do it with any ajax component (AjaxLink, AjaxButton ...) then it does not 
> show.
> I set up setOutputMarkupPlaceholderTag(true) for progressbar itself and it's 
> parent component (the form) but it has not helped.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to