RE: Suppress Ajax ComponentNotFoundException

2012-06-28 Thread Alex Grant
to Modal Window and remove behavior(s) in that callback (unless you are going to reuse that ModalWindow). Another option: try to override Behavior's canCallListenerInterface() Regards Wlodek 2012/6/25 Alex Grant alex.gr...@unimarket.com: I have a problem that shows up intermittently (and never when I

Suppress Ajax ComponentNotFoundException

2012-06-24 Thread Alex Grant
was closed so the extra update event can be safely ignored. Thanks Alex Grant. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

RE: Disable button double-click without breaking Form.setDefaultButton

2010-10-31 Thread Alex Grant
itself. For instance, you can save a boolean flag that tells you that the form has already been submitted and not accept a second submit, or whatever. On Thu, Oct 28, 2010 at 9:58 PM, Alex Grant alex.gr...@unimarket.comwrote: Thanks, That was actually me asking that question. :) That worked

Disable button double-click without breaking Form.setDefaultButton

2010-10-28 Thread Alex Grant
Hello, I have had problems with users double-clicking the Finish button in one of our wizards, which caused duplicate objects to be created. So I want to prevent the (non-ajax) buttons from being clicked more than once. I found what I thought was a good solution, using a

RE: Disable button double-click without breaking Form.setDefaultButton

2010-10-28 Thread Alex Grant
Thanks, That was actually me asking that question. :) That worked perfectly for AjaxButtons, but what I'm trying to do now is disable double-click for non-ajax buttons. Alex -Original Message- From: Alexander Morozov [mailto:alexander.v.moro...@gmail.com] Sent: Friday, 29 October 2010

RE: Preventing double-click of AjaxButtons in ModalWindow

2010-07-15 Thread Alex Grant
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 processing and then close the ModalWindow

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