Keep in mind that a form could be submitted by pressing the Enter key inside
a text field. A safer approach would be to prevent the form itself from
being submitted more than once, regardless of how it is submitted.

Benny

2010/12/9 françois facon <fra.fa...@gmail.com>

> Hi David
>
> about stopping the event.
> did you try to implement a mixin like  clickonce?
>
> http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/creatingmixins1
>
> François
>
>
> 2010/12/4 David Rees <dree...@gmail.com>
>
> > I'm having problems figuring out how to prevent double clicks with a
> > linkSubmit.
> >
> > With a regular submit, you can just disable the submit button after
> > observing a FORM_PREPARE_FOR_SUBMIT_EVENT, but this doesn't seem to
> > work for a linkSubmit element.
> >
> > Using T5.1.0.8-SNAPSHOT.
> >
> > Any ideas?  Have also tried stopping the event but that doesn't seem
> > to do anything.
> >
> > -Dave
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
>

Reply via email to