On the client side you have a JS script that knows when 100% is
reached. You have it trigger a Wicket AJAX call to the server on a
behavior that repaints your list view. Then the list view just needs
a proper model that gets an up-to-date list. Create an abstract
behavior, and there is a method that you can call that gets the JS
callback (IIRC).
--
Jeremy Thomerson
http://www.wickettraining.comOn Sat, Jul 4, 2009 at 2:50 PM, Mathias
Nilsson<
wicket.programmer@...> wrote:
>
> Let me be a bit more specific.
>
> A have a plain form, none wicket that posts to an Iframe. In the onsubmit of
> the form I call my ajax function. The action is set to my servlet to receive
> the multipart.
> In the start I setup my ajax and make GET requests to the same servlet for
> updating my progress bar.
>
> When the percentage is 100% I would like to make a call to wicket to update
> a listview of files. I could save the filename in the session when in the
> servlet. is there any way of doing a callback to wicket like this?
> --
> View this message in context:
http://www.nabble.com/Wicket-and-javascript-tp24336438p24337495.html> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...