« Return to Thread: best practice for a wait page

Re: best practice for a wait page

by Thijs :: Rate this Message:

Reply to Author | View in Thread

Scott Swank wrote:

> We have a page with a form and the form's onSubmit() method takes a
> while.  After it is complete the user is re-directed to another page.
> We'd like to introduce a nice "please wait while we process your
> request" page in between these pages.  If anyone has done this, what
> approach has worked well for you?
>
> public class Page1 extends ...
> {
>   ...
>     add(new SomeForm()
>     {
>       public void onSubmit()
>       {
>         aBunchOfProcessing();
>         redirect(new Page2());
>       }
>     }
>   ...
> }
>
>
> Thank you,
> Scott
>
>  
How about using a LazyLoadingPanel (or similar?) see wicket-extention

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: best practice for a wait page