Please ask this question on the struts-user list; struts-dev is for the 
development of Struts itself.

Thanks,
Dave


--- On Mon, 12/8/08, dancerjohn <[EMAIL PROTECTED]> wrote:

> From: dancerjohn <[EMAIL PROTECTED]>
> Subject: Multiple Validations?
> To: [email protected]
> Date: Monday, December 8, 2008, 10:09 AM
> I have a situation where we have a single code base and
> struts config files
> that support multiple sites. I want to be able to do
> different validation on
> each site. If I have a form A that has field a, I want to
> apply one set of
> rules for web-site 123 and a different set of rules for
> web-site abc. How
> would I do this?
> 
> I see that struts supports formsets but selection of the
> formset seems to be
> solely by locale. Is there a way to use the formset
> framework and have my
> code specify dynamically which formset to use?
> 
> I thought about overloading
> org.apache.struts.validator.ValidatorPlugIn. 
> 
> Any thoughts would be appreciated.
> John
> -- 
> View this message in context:
> http://www.nabble.com/Multiple-Validations--tp20897060p20897060.html
> Sent from the Struts - Dev mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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