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 lives in Commons Validator.)

http://svn.apache.org/repos/asf/struts/struts1/trunk/core/src/main/resources/org/apache/struts/validator/validator-rules.xml

The Java code for validwhen is generated by Antlr.  You can look at
the source, here:
http://svn.apache.org/repos/asf/struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/validwhen/

--
Wendy

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

Reply via email to