Re: Prevent Double Submit When Holding Enter Button

2011-07-09 Thread Igor Vaynberg
double submits should not be blocked by default. there are plenty of
valid usecases for supporting backbutton+submit. preventing a double
submit is an exception, not the rule.

-igor

On Sat, Jul 9, 2011 at 6:46 PM,   wrote:
> Hi,
>
> I would think that under normal conditions, Wicket prevents double
> submits from occcuring. That should be part of any framework
> functionality.
>
> So if you observe a scenario where double submit is possible, then
> please create a testcase with a quickstart, see
> http://wicket.apache.org/start/quickstart.html
> , and report it at http://issues.apache.org/jira/browse/WICKET
>
> Bernard.
>
> On Sat, 9 Jul 2011 18:01:15 +0800, you wrote:
>
>>nope,
>>i'm submitting via normal Button component
>>
>>On Sat, Jul 9, 2011 at 5:55 PM, Josh Kamau  wrote:
>>> Are you submitting via ajax?
>>>
>>> On Sat, Jul 9, 2011 at 12:39 PM, Horacio Natyural <
>>> horacio.natyu...@gmail.com> wrote:
>>>
 btw,

 this happens when I hold the Enter button without releasing it..


 Thanks

 On Sat, Jul 9, 2011 at 5:31 PM, Horacio Natyural
  wrote:
 > Hi,
 >
 > Is there a way that I can prevent a double submit when I'm holding the
 > enter button?
 > I'm using a normal Button component.
 >
 > I can't seem to prevent it from submitting the form twice..
 >
 > Thanks
 > Carlo
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: Prevent Double Submit When Holding Enter Button

2011-07-09 Thread bht
Hi,

I would think that under normal conditions, Wicket prevents double
submits from occcuring. That should be part of any framework
functionality.

So if you observe a scenario where double submit is possible, then
please create a testcase with a quickstart, see
http://wicket.apache.org/start/quickstart.html
, and report it at http://issues.apache.org/jira/browse/WICKET

Bernard.

On Sat, 9 Jul 2011 18:01:15 +0800, you wrote:

>nope,
>i'm submitting via normal Button component
>
>On Sat, Jul 9, 2011 at 5:55 PM, Josh Kamau  wrote:
>> Are you submitting via ajax?
>>
>> On Sat, Jul 9, 2011 at 12:39 PM, Horacio Natyural <
>> horacio.natyu...@gmail.com> wrote:
>>
>>> btw,
>>>
>>> this happens when I hold the Enter button without releasing it..
>>>
>>>
>>> Thanks
>>>
>>> On Sat, Jul 9, 2011 at 5:31 PM, Horacio Natyural
>>>  wrote:
>>> > Hi,
>>> >
>>> > Is there a way that I can prevent a double submit when I'm holding the
>>> > enter button?
>>> > I'm using a normal Button component.
>>> >
>>> > I can't seem to prevent it from submitting the form twice..
>>> >
>>> > Thanks
>>> > Carlo


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



Re: Prevent Double Submit When Holding Enter Button

2011-07-09 Thread Horacio Natyural
nope,
i'm submitting via normal Button component

On Sat, Jul 9, 2011 at 5:55 PM, Josh Kamau  wrote:
> Are you submitting via ajax?
>
> On Sat, Jul 9, 2011 at 12:39 PM, Horacio Natyural <
> horacio.natyu...@gmail.com> wrote:
>
>> btw,
>>
>> this happens when I hold the Enter button without releasing it..
>>
>>
>> Thanks
>>
>> On Sat, Jul 9, 2011 at 5:31 PM, Horacio Natyural
>>  wrote:
>> > Hi,
>> >
>> > Is there a way that I can prevent a double submit when I'm holding the
>> > enter button?
>> > I'm using a normal Button component.
>> >
>> > I can't seem to prevent it from submitting the form twice..
>> >
>> > Thanks
>> > Carlo
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

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



Re: Prevent Double Submit When Holding Enter Button

2011-07-09 Thread Josh Kamau
Are you submitting via ajax?

On Sat, Jul 9, 2011 at 12:39 PM, Horacio Natyural <
horacio.natyu...@gmail.com> wrote:

> btw,
>
> this happens when I hold the Enter button without releasing it..
>
>
> Thanks
>
> On Sat, Jul 9, 2011 at 5:31 PM, Horacio Natyural
>  wrote:
> > Hi,
> >
> > Is there a way that I can prevent a double submit when I'm holding the
> > enter button?
> > I'm using a normal Button component.
> >
> > I can't seem to prevent it from submitting the form twice..
> >
> > Thanks
> > Carlo
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Prevent Double Submit When Holding Enter Button

2011-07-09 Thread Horacio Natyural
btw,

this happens when I hold the Enter button without releasing it..


Thanks

On Sat, Jul 9, 2011 at 5:31 PM, Horacio Natyural
 wrote:
> Hi,
>
> Is there a way that I can prevent a double submit when I'm holding the
> enter button?
> I'm using a normal Button component.
>
> I can't seem to prevent it from submitting the form twice..
>
> Thanks
> Carlo
>

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



Prevent Double Submit When Holding Enter Button

2011-07-09 Thread Horacio Natyural
Hi,

Is there a way that I can prevent a double submit when I'm holding the
enter button?
I'm using a normal Button component.

I can't seem to prevent it from submitting the form twice..

Thanks
Carlo

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