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.
> >
> >
> >
> >
.alreadyClickedOnce = false;
},
3000);
}
};
---- Оригинално писмо ----
От: Taha Siddiqi tawus.tapes...@gmail.com
Относно: Re: Confirm mixin with form validation errors
До: "Tapestry users"
Изпратено на: Понеделник, 2012, Септемв
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.
>
>
>
&
- Оригинално писмо
От: 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
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
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