Re: Confirm mixin with form validation errors

2012-09-17 Thread Ray Nicholus
bit older version of Tapestry: 5.1.05. There > is no > > Tapestry.FORM_VALIDATE_FIELDS_EVENT defined but there are > > Tapestry.FORM_VALIDATE_EVENT and > > Tapestry.FIELD_VALIDATE_EVENT > > which I guess should do the same thing. > > > > > > > >

Re: Confirm mixin with form validation errors

2012-09-17 Thread ZKN __
.alreadyClickedOnce = false; }, 3000); } }; ---- Оригинално писмо ---- От: Taha Siddiqi tawus.tapes...@gmail.com Относно: Re: Confirm mixin with form validation errors До: "Tapestry users" Изпратено на: Понеделник, 2012, Септемв

Re: Confirm mixin with form validation errors

2012-09-17 Thread Taha Siddiqi
x27; is > not a function > > I have to mention I'm on a bit older version of Tapestry: 5.1.05. There is no > Tapestry.FORM_VALIDATE_FIELDS_EVENT defined but there are > Tapestry.FORM_VALIDATE_EVENT and > Tapestry.FIELD_VALIDATE_EVENT > which I guess should do the same thing. > > > &

Re: Confirm mixin with form validation errors

2012-09-17 Thread ZKN __
- Оригинално писмо От: Josh Canfield joshcanfi...@gmail.com Относно: Re: Confirm mixin with form validation errors До: Tapestry users Изпратено на: Петък, 2012, Септември 14 07:07:20 EEST I don't think this addresses the problem though, right? If client-side form validation fa

Re: Confirm mixin with form validation errors

2012-09-13 Thread Josh Canfield
I don't think this addresses the problem though, right? If client-side form validation fails you still are in a state where you can't click the submit button again after fixing the error. Tapestry doesn't have an event for "validation failed", and I don't know of an approved way to workaround tha

Re: Confirm mixin with form validation errors

2012-09-13 Thread trsvax
Here is my jQuery one that is added to a form @MixinAfter @Import( library={"submitonce.js"}) public class SubmitOnce { @Inject private Logger logger; @Inject private JavaScriptSupport javaScriptSupport; @InjectContainer pr