incubator-adffaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Lessard" <>
Subject Check for application specific resource bundle before the embedded one
Date Sat, 10 Mar 2007 19:04:49 GMT
Hello all,

Currently, LocaleUtils loads resources from the embedded
org.apache.myfaces.trinidad.resource.MessageBundle class before checking for
the FacesMessage.FacesMessages bundle, leaving the application specific
bundle completely out of the process, effectivelly preventing users from
overloading the predefined Trinidad messages. Currently, the only workaround
for this is the create a class named
org.apache.myfaces.trinidad.resource.MessageBundle in your project and pray
for the AS ClassLoader to load it before the jarred one. Therefore, I think
we should add the application defined (in faces-config.xml) ResourceBundle
as the top priority bundle for text resources.

Any comments?


~ Simon

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message