Re: Preventing double-click of AjaxButtons in ModalWindow

2010-07-15 Thread Pedro Santos
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

RE: Preventing double-click of AjaxButtons in ModalWindow

2010-07-15 Thread Alex Grant
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

Preventing double-click of AjaxButtons in ModalWindow

2010-07-14 Thread Alex Grant
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