You can use an IAjaxCallDecorator to disable buttons and re-enable them with
the ajax request completes
On Wed, Jul 14, 2010 at 7:53 PM, Alex Grant alex.gr...@unimarket.comwrote:
I have ModalWindows whose content contains OK AjaxButtons, which, assuming
validation passes, will do some
That's perfect, thank you for the help.
Alex
-Original Message-
From: Pedro Santos [mailto:pedros...@gmail.com]
Sent: Friday, 16 July 2010 12:07 a.m.
To: users@wicket.apache.org
Subject: Re: Preventing double-click of AjaxButtons in ModalWindow
You can use an IAjaxCallDecorator
I have ModalWindows whose content contains OK AjaxButtons, which, assuming
validation passes, will do some processing and then close the ModalWindow.
If a user enters valid data and then double-clicks the OK button they will get
an Exception like this one, because Wicket has already processed