In the flowlogix tapestry library: 
http://code.google.com/p/flowlogix/wiki/TapestryLibrary
There is. DisableAfterSubmit mixin that can be used to disable a button after 
form submission. 


On Jul 13, 2012, at 9:15 AM, David Canteros <davidcanteros....@gmail.com> wrote:

> If the form is inside a zone you can try the "ajax throbbers" propoused by
> Howard.
> 
> http://tapestryjava.blogspot.com.ar/2011/12/adding-ajax-throbbers-to-zone-updates.html
> 
> By adding some css/js files and a little code in the layout component you
> can get the desired effect: while the zone is updating, it becomes opaque
> and shows the "loading"  animation.  This effect will be showed in all
> zones, so if your forms are inside in a zone, you will get what you want.
> 
> I use this solution and works great
> 
> Regards
> 
> 
> 
> ------------------------------------------------------------------
> David Germán Canteros
> 
> 
> 2012/7/9 Thiago H de Paula Figueiredo <thiag...@gmail.com>
> 
>> On Mon, 09 Jul 2012 15:45:15 -0300, wesleywj2 <wesley...@yahoo.co.uk>
>> wrote:
>> 
>> Hi,
>>> 
>> 
>> Hi!
>> 
>> 
>> I wondered how do i block the UI when user click/double click the submit
>>> button upon form submission?
>>> 
>> 
>> The exact same way you'd do it in any HTML and JavaScript webapp. I know
>> you're asking about something already implemented in Tapestry, but I really
>> like to remember everyone that anything in JavaScript can be used without
>> changes (except for the fact that Prototype is included by default) with
>> Tapestry.
>> 
>> 
>> T5 has any UI block script to help out?
>>> 
>> 
>> Nope, but Lance provided one implementation in the always-useful JumpStart
>> for you getting some inspiration. :)
>> 
>> --
>> Thiago H. de Paula Figueiredo
>> 
>> 
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: 
>> users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org>
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>> 
>> 

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

Reply via email to