Do you update the portion of the page that contains the form upon the ajax submit? If yes you can bind the disabled parameter of the submit button to some page property and set that to true in your submit handler method.

Uli

On 23.11.2010 12:56, Hugo Palma wrote:
I would like to disable a form submit button after click in order to avoid
multiple clicking.
This can easily be done by calling "this.disabled = true" on the onclick
event of the button but this also prevents the submit event from executing.

I could do "this.disabled = true;form.submit()" but in my case i have an
ajax form with the zone parameter and the form.submit() forces the "normal"
submit with full page reload.
So, any idea how i can disable the submit button and not cancel the ajax
form submit ?

Thanks,
Hugo


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

Reply via email to