But LocalizationUtility.getErrorMessage requires a Locale as a
parameter, in addition to the key.  Shouldn't there be a method that
uses whatever ResourceBundle was chosen by the
LocalizationBundleFactory?

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, April 23, 2008 8:24 AM
To: Stripes Users List
Subject: Re: [Stripes-users] Localization in action beans?


you can use static methods in LocalizationUtility class 


On Wed, Apr 23, 2008 at 2:44 AM, Roland Bali <[EMAIL PROTECTED]>
wrote:


        Hi,
        
        I'm sorry if I've missed something obvious but is there a way to
localize
        stuff on the action bean level using the same
StripesResource.properties
        resource bundle as the JSP?
        
        I'm looking for something like:
Resource.getMessage("my.message.key");
        
        Kind regards,
        Roland
        
        
        
        
        
------------------------------------------------------------------------
-
        This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference
        Don't miss this year's exciting event. There's still time to
save $100.
        Use priority code J8TL2D2.
        
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avaone
        _______________________________________________
        Stripes-users mailing list
        [email protected]
        https://lists.sourceforge.net/lists/listinfo/stripes-users
        



This e-mail message is being sent solely for use by the intended recipient(s) 
and may contain confidential information.  Any unauthorized review, use, 
disclosure or distribution is prohibited.  If you are not the intended 
recipient, please contact the sender by phone or reply by e-mail, delete the 
original message and destroy all copies. Thank you.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to