Hi, take a look at this: http://wiki.apache.org/tapestry/Tapestry5HowToRunTaskInThread
Your page only delegates the execution of the task to another thread and then the ajax part polls the page wether the task is ready, once it is you show the results. Don't know the ajax part, but that example should be extended a bit so that the thread source takes also the thread progress inspector which can tell you how many percent the task is complete... - Ville HugoPalma wrote: > > I have an operation that needs to be executed that could take a couple > of minutes and so i'd like to provide a page where at first it > displays a waiting message while the operation is getting executed and > then if shows the result of that operation, using ajax so that i don't > have to go to another page. > > Any ideas about the best way to do this ? If i bind the process > execution to any phase of the page lifecycle it will always be > executed before it renders anything and i loose control on how to > update the page once the operation is complete. > > Thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://www.nabble.com/How-to-implement-a-long-lasting-operation-waiting-page-tp21790821p21808947.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org