RE : validateValidWhen and javascript

2006-09-01 Thread Jean-Marie Pitre
Do you know what is the reason there isn't javascript validation for this rule ? -Message d'origine- De : Wendy Smoak [mailto:[EMAIL PROTECTED] Envoyé : jeudi 31 août 2006 17:55 À : Struts Users Mailing List Objet : Re: validateValidWhen and javascript On 8/31/06, Jean-Marie Pitre

Re: RE : validateValidWhen and javascript

2006-09-01 Thread Laurie Harper
is the reason there isn't javascript validation for this rule ? -Message d'origine- De : Wendy Smoak [mailto:[EMAIL PROTECTED] Envoyé : jeudi 31 août 2006 17:55 À : Struts Users Mailing List Objet : Re: validateValidWhen and javascript On 8/31/06, Jean-Marie Pitre [EMAIL PROTECTED

validateValidWhen and javascript

2006-08-31 Thread Jean-Marie Pitre
Hi, Is there a javascript file to use validateValidWhen method on client side ? Thanks, Regards, Jean-Marie --- Email Disclaimer http://www.cofidis.be/emaildisclaimer.php - To unsubscribe, e-mail: [EMAIL

Re: validateValidWhen and javascript

2006-08-31 Thread Adam Gordon
J- IIRC, the J/S that is inserted is ALL the validation J/S whether you use it or not. I.e., even if you aren't using, say 'maxlength,' I belive that method is included. That said, we don't use client-side validation because you really should do server-side anyway and we didn't like the

Re: validateValidWhen and javascript

2006-08-31 Thread Wendy Smoak
On 8/31/06, Jean-Marie Pitre [EMAIL PROTECTED] wrote: Is there a javascript file to use validateValidWhen method on client side ? No. If you look in the bundled validation-rules.xml file for 1.3, there is no 'jsFunction' attribute for validwhen. (The JavaScript for the default rules now

Re: validateValidWhen and javascript

2006-08-31 Thread John R. Dumonceaux
to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing List user@struts.apache.org cc Subject Re: validateValidWhen and javascript J- IIRC, the J/S that is inserted is ALL the validation J/S whether you use it or not. I.e., even if you aren't using, say 'maxlength,' I

Re: validateValidWhen and javascript

2006-08-31 Thread Wendy Smoak
On 8/31/06, John R. Dumonceaux [EMAIL PROTECTED] wrote: Is there a way to include only the J/S actually used? I'm doing client side validation with j/s and ended up writting my own routines - thus the validation does seem to add much. Where are you putting your JavaScript? There might be a

Re: validateValidWhen and javascript

2006-08-31 Thread Laurie Harper
Wendy Smoak wrote: On 8/31/06, John R. Dumonceaux [EMAIL PROTECTED] wrote: Is there a way to include only the J/S actually used? I'm doing client side validation with j/s and ended up writting my own routines - thus the validation does seem to add much. Where are you putting your