This question should be asked on struts-user. The validator always prints all of the javascript unless you use <html:javscript staticJavascript="false" />
David --- "Joshi, Sachin (MED)" <[EMAIL PROTECTED]> wrote: > Hi Everyone, > I am using validator framework client side validation. > I observed one problem here, the validator framework is adding all > javaScript functions in my form even if I don't need that function. > Please let me know if there is something special I need to do. > I just need "required" validation in my form but the generated form > contains javascript function for all other validations also, which are > never used in my html page. > > Can I customize it to just pick up the javascript which is corresponding > to the depends attribute in validation.xml > > Let me know > Regards, > Sachin > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
