> From: Adam Hardy [mailto:[EMAIL PROTECTED] 
> Where can I get the latest validator-rules.xml from?

In the 1.2.0 distribution, it's in the 'lib' subdirectory along with the
.jar files.

> Obviously I am assuming that this is a standard part of the 
> code base - or is it? I need the latest javascript for the
validate-url 
> rule, that's why. But then it occurred to me that it might be the same
as 
> struts-config.xml, i.e. roll-your-own.

The part you write generally goes in validation.xml.  For instance, I
have some custom validators, and I added a <global> section to the top
of validation.xml to define them.  That is also where I have the <form>
and <field> tags.  

The file names are arbitrary, you can change them as long as the
Validator plugin tag in struts-config.xml matches.  But, as delivered,
the provided rules are in validator-rules.xml, and the convention is to
do your custom setup in validation.xml.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to