commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <>
Subject Re: .js in Validator Framework
Date Sat, 09 Dec 2006 00:58:24 GMT
The two files you refer to are the "full" javascript routines - so
that you can include them as a link in the <script> element of your
page, rather than the "static" javascript routines being rendered
in-line in your page

<script type="text/javascript" language="JavaScript"

The two versions are compressed (using the Dojo/Rhino javascript
compressor) and un-compressed.

As well as these there are also now compressed versions of the
individual scripts including in the commons validator jar. In order to
these you need a validator-rules.xml which is configured for the
compressed versions. The next release of Struts will ship with an
addtional "compressed" validator-rules.xml so people can plug in
either version.

So you either need to update your validator rules in the following way:

Or grab the one from the Struts subversion repository

Besides that there isn't much more information, the issue ticket is here:

Info on the Dojo/Rhino compressor:


On 12/9/06, Thomas Thomas <> wrote:
> Hi ,
> I'm using the Validator framework in my Struts application.
> All I do is moving commons-validator-1.3.1.jar in the lib folder of my web
> application.
> I can see also that there are other files, commons-validator-1.3.1.js and
> commons-validator-1.3.1-compress.js.
> What are they for ? Where can I find resources about them ?
> Thank u !

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message