I'm not sure to understand what you mean... jumpstart example uses plain old js and does not work with tapestry client-side validation.
2014-12-01 18:59 GMT+01:00 Thiago H de Paula Figueiredo <thiag...@gmail.com> : > Have you tried plain old JavaScript double form submission avoiding? > Anyway, you don't need to override anything from Tapestry's JS for that at > all. > > On Mon, 01 Dec 2014 15:38:14 -0200, Charlouze <m...@charlouze.com> wrote: > > Hey tapestry's users/gurus ! >> >> I need a way to prevent double form submission. I first had a look at this >> example >> <http://jumpstart.doublenegative.com.au/jumpstart7/examples/ >> javascript/creatingmixins1> >> from jumpstart. As it is written, it conflicts with client-side form >> validation and I also need client side form validation. >> I dug into tapestry JS source and found that there was some events called >> after validation. At first, I was happy but then I realize that there was >> a >> validate event only if validation succed and in my case I need a way to >> know if validation failed (in order to re-enable the button). >> >> I'm thinking about overriding t5/core/forms.coffee with my own but I don't >> like to do that. That's why i'm asking : Does someone know a better way >> for >> doing this ? >> >> Thanks in advance, >> Charles. >> > > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >