Re: Too much javascript code with struts validation framework

2005-02-23 Thread Max Cooper
You don't have to statically include all the JavaScript in each page. You can use a dynamic include, allowing the JavaScript to cache in the browser instead. See the dynamicJavascript and staticJavascript attributes of the Struts html:javascript tag. -Max On Wed, 2005-02-23 at 18:52 -0300, Maria

Too much javascript code with struts validation framework

2005-02-23 Thread Mariano Ayesa
Hi all! I´m trying struts validation framework and I would like to know if there is a way to tell Struts to include only javascripts functions needed by a particular JSP. I have noticed that Struts adds every rule configured in validator-rules in each generated HTML and this makes pages too much he