I haven't used multiple validations.xml files, but the behavior you
described with multiple struts-config matches what I would expect.

I don't know exactly what would be needed to make validator work the
way you're expecting to, but it would likely require some cooperation
from ValidatorResources.

Hubert

On 9/16/05, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> I had always assumed that (within the same module) I could break up my
> validations.xml with my form definitions, for the same locale split accross
> several files. But the way it works is that subsequent formsets just
> overwite the ones already loaded. Validator and Constant definitions work
> fine - they all get merged togther. Is this the intended/expected behaviour.
> I would have expected them to all get merged.
> 
> Also, I thought that if I split up the struts-config I could have a
> validator plugin definition in each of them associated with different parts
> of the "broken" up validations.xml - but it appears that the last Validator
> Plugin to run will overwite anything previous ones have loaded. Again is
> this the intended/expected behaviour?
> 
> The way it works now, you can only have the Validator plugin defined once
> even if you have multiple struts-config.xml for the same module and you can
> only break up your form validations into different files for each Locale.
> 
> Is this correct or have I missed something?
> 
> Niall
> 
> 
> 
> ---------------------------------------------------------------------
> 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