RE: retrieving resource bundles in backing bean

2008-07-10 Thread Guy Bashan
Hi, I also had the same problem. Using s:loadBundle from the myfaces sandbox solved this issue. Guy From: Marcel Brückner [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 12:15 PM To: users@myfaces.apache.org Subject: retrieving resource bundles in backing bean MyFaces 1.1.5,

Re: retrieving resource bundles in backing bean

2008-07-10 Thread Richard Yee
This is how we do it. We have a message utility class with this code in it. public static String getMessageFromBundle(String bundleName, String key, Object[] params, Locale locale) { String message = null; ResourceBundle bundle =