Hi Kris and Martin,

Javascript works, however, here is a little problem, i display the message
when user submits, but if onValidationFromForm sends back an error message,
user has to correct some mistake, so the message is always display
regardless if the onSuccess is called or not, might be nice if it will not
display the 'in progress' message if there is some validation error, thanks.

A.C.


Martin Kersten-2 wrote:
> 
> Hi Angelo,
> 
> If you might want to use a more simplier (and natural) approach use java
> script.
> 
> 1. When user clicks the link -> Show a ProcessingMessage (gray out form
> or whole page)
> 2. When the current page is being replaced -> Stop the ProcessingMessage
> (remove it)
> 3. The browser displays the next page.
> 
> This works since tapestry blocks until the onSubmit (or whatever) is
> finished so nothing
> is send unless the whole page (in case of submit a simple redirect) is
> completed.
> 
> 
> Think that will solve your problem! :-)
> 
> Cheers,
> 
> Martin (Kersten)
> 
> 
> A.C.
> --
> View this message in context:
> http://www.nabble.com/T5%3A-Please-wait-before-I-show-you-next-page-tp16
> 000636p16000636.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-Please-wait-before-I-show-you-next-page-tp16000636p16001450.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to