Cool. So the Validator will pick them up if I add them to the paths in the 
struts-config I assume.


--------------------
Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

"This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation."
--------------------



-----Original Message-----
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 12:25 PM
To: Struts Users Mailing List
Subject: Re: validation-rules vs. custom rules location question


I'd keep them separate. That way, if you upgrade to a new version you can
just drop in a new validator-rules.xml without having to add your custom
rules again.

Niall

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 09, 2004 8:19 PM
Subject: validation-rules vs. custom rules location question


We have been using struts v1.1 and just upgraded to 1.2.4.
We also created several custom rules and appended them to the
validation-rules.xml.
But now it seems the validation-rules.xml is in the struts lib DIR.

Should we create a files called validation-rules-wfb.xml for our custom
rules without the default rules, then just add validation-rules-wfb.xml to
our validation settings in the struts-config.xml? or should we keep our
custom rules and default rules together?

--------------------
Mick Knutson
Wells Fargo Business Direct Information Systems
(415) 222-1020

"This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message. Thank
you for your cooperation."
--------------------



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





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


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

Reply via email to