The wicket ajax link examples are great.  The functionality I need is very
similar to the third link example here:

http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.LinksPage

( ajax link with a busy indicator. the server will deliberately pause for
five seconds)

The only difference between my code and that example is that I substituted
my actual long running task for the example's Thread.sleep(5000).

Everything is working great but I have two questions:

1) I don't really want it to be a link.  I really just want my long running
task to be executed after the page is loaded and I want it to update some
label when it finishes.  Any hints on how I can do this?

2) Right now my long running task is executed in the link's
onClick(AjaxRequestTarget target) method just like the example.  Should this
be executed on a separate thread?

Thank you


-- 
View this message in context: 
http://www.nabble.com/execute-long-running-ajax-task-after-page-is-loaded-tf4118823.html#a11713572
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to