"ALL the validation J/S"

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.

John Dumonceaux




Adam Gordon <[EMAIL PROTECTED]> 
08/31/2006 10:39 AM
Please respond 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 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 
way the errors were displayed on client-side (all the errors in a J/S 
alert box).  Clearly, we could have changed this, but we went with 
server-side only...

-adam

Jean-Marie Pitre wrote:
> 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 PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to