Ted wrote:
> The Struts Validator actually keys on the ActionMapping attribute. By 
> default this is set to be the FormBean name, but you can set a different 
> attribute on the ActionMapping.
> So, on the ActionMapping, set a different attribute for each case, and 
> then specify a corresponding validator form using the same token.

I was going to say:
Override validate() and only call super.validate() when you want validation
to happen.

But Ted's idea sounds better, except that I haven't a clue what he's talking
about.

Is this anything like setting the "parameter" attribute of the <action> tag
for DynaValidatorForm, so it knows which method to call based on a request
parameter?

What attribute, other than validate="true", do you set on the <action> tag
to tell it which section of validation.xml to use?

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

Reply via email to