On 12/26/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:

> it would be nice if Commons Validator
> would read more than one resource bundle file without needing to extract it
> and add the file to WEB-INF/classes yourself

I think it already does. :)  Looking at
CommonsValidator.getErrorMessage again, it first looks in the
application's message bundle, and then looks in
oas.validator/messages.properties.

Assuming you've defined your message bundle in faces-config.xml:
    <application>
        <message-bundle>ApplicationResources</message-bundle>
        ...
    </application>

You can add your custom messages to (in this case)
WEB-INF/classes/ApplicationResources.properties, and leave
messages.properties alone.

--
Wendy

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

Reply via email to