Does anyone know a way have the Validator read the error messages for
failed validation out of a non-default ApplicationResources.properties
file?

I am trying to separate the error messages out into a file that other
developers need not and/or should not touch.  Actually it could be a set of
files, for different portions of the applications.

I want to have the following in my struts config file:

    <message-resources key="validator" parameter="ValidatorResources"/>
    <message-resources key="application" parameter="ApplicationResources"/>

where to display something on a JSP you would need to use the

    <bean:message bundle="application" key="message.something"/>

to write it out.  I don't see anything where I can specify the "bundle" for
error messages in the validator.

I have searched the web and the books I have but couldn't come up with
anything.  Does anyone know anything about this?

Thanks,
Dave


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

Reply via email to