Can I ask why you want this? You may be interested in a recent changeI made to Commons
Validator - it now creates a copy of all the staticscripts in one file and also a
"compressed" version of the same.Should be available when Validator 1.2.1 is
released.
Can you explain me this new functionality ?
I want to put validator javascript in a browser-cacheable file, but
don't want a static .js file, so that any change in validator is applied.
I've set a JSP for this /script/validator.jsp :
<%@ page contentType="text/javascript" session="false" %>
<% response.setHeader("Cache-Control","post-check=900,pre-check=3600");%>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %>
<html:javascript
cdata="false"
htmlComment="false"
dynamicJavascript="false"
staticJavascript="true"/>
Using this, Ive both cached JS file and validator generated javascript
methods.
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is intended only for the person to whom
it is addressed. If you are not the intended recipient, you are not authorized
to read, print, retain, copy, disseminate, distribute, or use this message or
any part thereof. If you receive this message in error, please notify the
sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]