I see that this indeed is not something easy to achieve ... :-/

See the code in
org.apache.wicket.extensions.ajax.markup.html.form.upload.UploadStatusResource#getStatus()
It uses:
final HttpServletRequest req =
(HttpServletRequest)attributes.getRequest().getContainerRequest();
UploadInfo info = MultipartServletWebRequestImpl.getUploadInfo(req, upload);


Additionally I see that Wicket provides
org.apache.wicket.util.upload.ProgressListener but it is not easy at
all to set this listener with
org.apache.wicket.util.upload.FileUploadBase#setProgressListener().

Feel free to file a ticket to improve this.

On Wed, Jun 13, 2012 at 5:09 PM, Sandor Feher <[email protected]> wrote:
> Hi,
>
> Looks very nice. But how attach my uploadfield to
>
> // Get current progress from page field
>                        @Override
>                        protected Progression getProgression()
>                        {
>                                return new Progression(progress, "Item " + 
> item);
>                        }
>
> ?
>
> thnx, Sandor
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Progressbar-problems-tp4649923p4649932.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to