Is there a way to use multiple <message-bundle>s?  I have a jar file
that provides common functionality to our JSF apps and it overrides the
default JSF messages by defining the following in META-INF/faces-config.xml:

        <application>
                <message-bundle>
                        edu.cornerstone.jsf.util.JSFInlineMessages
                </message-bundle>
        </application>

And if I also use the jenia4faces jar file which has a few of its own
messages:

        <application>
            <message-bundle>org.jenia.faces.Messages</message-bundle>
            <locale-config>
              <default-locale>en</default-locale>
            </locale-config>
        </application>

Only one of those will get used.  Right now it seems that the
jenia4faces takes precedence (it is loaded later alphabetically) and my
overridden messages don't take effect.  The standard JSF messages are used.

Is there any workaround for this?

-- 
Dave Brondsema
Software Developer
Cornerstone University

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to