I haven't spent a ton of time thinking about your specific problem, or
why you can't disable the link, but it reminded me of an old thread
about canceling link submits.

http://tapestry.1045711.n5.nabble.com/quot-Confirm-quot-mixin-won-t-cancel-when-in-zone-td2436465.html

If you can't disable the link then maybe you can just ignore the clicks.

Josh


On Fri, Dec 10, 2010 at 11:43 AM, David Rees <dree...@gmail.com> wrote:
> On Thu, Dec 9, 2010 at 2:57 PM, Benny Law <benny.mk....@gmail.com> wrote:
>> 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.
>
> Right - and as I stated in my original post I tried disabling the link
> by observing the FORM_PREPARE_FOR_SUBMIT_EVENT event - but for some
> reason you can't disable the link like you can a button...
>
> I also tried using a Javascript variable to see if the form had been
> submitted once already or not, but I was not able to get the event to
> stop...
>
> -Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

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

Reply via email to