I am not sure what you mean. I don't see anything about a key or path in the
API for ValidatorActionForm or ValidatorForm. Also, I would think that
hitting these would be too late. If I understand it correctly (and I am new
so maybe not), struts-config.xml specifies that ValidatorPlugin should be
used to parse validation.xml to do validation on various forms. I want to
make a change so that ValidatorPlugIn will use a different set of rules
depending on what site is being run (determined by a database query). 

<formset> seems to provide this type of capability but it seems to be
limited to Locale variability.



Eric J Givler wrote:
> 
> Doesn't the ValidatorActionForm provide a means of getting/setting the
> validation key to be used (normally set to the mapping.getPath())?  If
> that's the case, can't you inject your own key programmatically?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Multiple-Validation-Options--tp20898122p20902765.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to