Three questions about Validator to get me started:
(1) The 1.3.5 docs state:
By convention, the validators your application uses can be loaded
through a file named "validator-rules.xml"
I've looked in the Blank and MailReader sample apps, and don't see this
file anywhere. Do I need it? If not, how does the validator know about
the default rules?
(2) In a field element, I assume the arg element refers to the messages
in MessageResources.properties. I also assume that the mapping from,
say, the required rule to errors.required happens in the
validator-rules.xml file...which I can't find.
<field property="name" depends="required">
<arg position="0" key="customer.name"/>
</field>
(3) My primary struts documentation covers struts 1.1. Should I expect
surprises with the validator in 1.3?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)