commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: Validator framework is adding all JavaScript in each form
Date Fri, 03 Oct 2003 13:43:59 GMT
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)" <Sachin.Joshi@geind.ge.com> 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: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message