You could set a flag in the user's session indicating the process is
ongoing, then use a meta refresh to check the status of the flag and respond
accordingly.
On Jan 24, 2008 11:45 AM, Scott Swank <[EMAIL PROTECTED]> 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
>
> --
> Scott Swank
> reformed mathematician
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Nick Heudecker
Professional Wicket Training & Consulting
http://www.systemmobile.com
Eventful - Intelligent Event Management
http://www.eventfulhq.com