You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Alex Grant <al...@unimarket.com> on 2010/11/01 00:03:34 UTC
RE: Disable button double-click without breaking
Form.setDefaultButton
Thank you for your help, problem solved.
-----Original Message-----
From: Jeremy Thomerson [mailto:jeremy@wickettraining.com]
Sent: Friday, 29 October 2010 5:59 p.m.
To: users@wicket.apache.org
Subject: Re: Disable button double-click without breaking Form.setDefaultButton
Do it in your form 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 <al...@unimarket.com>wrote:
> 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.morozov@gmail.com]
> Sent: Friday, 29 October 2010 3:31 p.m.
> To: users@wicket.apache.org
> Subject: Re: Disable button double-click without breaking
> Form.setDefaultButton
>
>
> Check this thread
>
> http://apache-wicket.1842946.n4.nabble.com/Preventing-double-click-of-
> AjaxButtons-in-ModalWindow-td2289480.html
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Disable-button-double-click
> -without-breaking-Form-setDefaultButton-tp3018140p3018370.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket? Use Brix! http://brixcms.org*
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org