Re: Progressive display on submit

2012-07-02 Thread David Canteros
As Thiago says, you can use throbbers. One good example (but using Zones)
is provided by Howard on his blog.
I tried it and works great!

http://tapestryjava.blogspot.com.ar/2011/12/adding-ajax-throbbers-to-zone-updates.html

Br

--
David Germán Canteros


2012/7/1 Thiago H de Paula Figueiredo 

> On Sun, 01 Jul 2012 09:22:12 -0300, liquid_sun <
> hristijan.curuko...@gmail.com**> wrote:
>
>  Hi,
>>
>
> Hi!
>
>
>  I have submit form that needs about 2-3 seconds to execute (insert in
>> database, send mail ...etc). How can I show progressive display while the
>> whole code is executed and then return an Object (success.java). Is there
>> any good example doing this using Progressive display or possibly  any
>> other other way to accomplish this.
>>
>
> ProgressiveDisplay isn't meant to be used that way. It's meant to be used
> while a page is initially rendering. It seems to me that what you want is
> somehow to tell the user the webapp isn't stuck. You could just get the
> form submission JavaScript event and show some throbber and other visual
> indication that the webapp is running.
>
> --
> Thiago H. de Paula Figueiredo
>
>
> --**--**-
> To unsubscribe, e-mail: 
> users-unsubscribe@tapestry.**apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: Progressive display on submit

2012-07-01 Thread Thiago H de Paula Figueiredo
On Sun, 01 Jul 2012 09:22:12 -0300, liquid_sun  
 wrote:



Hi,


Hi!


I have submit form that needs about 2-3 seconds to execute (insert in
database, send mail ...etc). How can I show progressive display while the
whole code is executed and then return an Object (success.java). Is there
any good example doing this using Progressive display or possibly  any  
other other way to accomplish this.


ProgressiveDisplay isn't meant to be used that way. It's meant to be used  
while a page is initially rendering. It seems to me that what you want is  
somehow to tell the user the webapp isn't stuck. You could just get the  
form submission JavaScript event and show some throbber and other visual  
indication that the webapp is running.


--
Thiago H. de Paula Figueiredo

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Progressive display on submit

2012-07-01 Thread liquid_sun
Hi,
I have submit form that needs about 2-3 seconds to execute (insert in
database, send mail ...etc). How can I show progressive display while the
whole code is executed and then return an Object (success.java). Is there
any good example doing this using Progressive display or possibly  any other
other way to accomplish this.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Progressive-display-on-submit-tp5714221.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