--
View this message in context:
http://old.nabble.com/Re%3A-Any-way-to-load-resources-in-java.util.ResourceBundle-tp29182865p29522847.html
Sent from the Struts - User mailing list archive at Nabble.com
On Tue, Aug 24, 2010 at 10:51 AM, akinsgre angryg...@gmail.com wrote:
struts.xml
constant name=struts.custom.i18n.resources
value=com.fiserv.sourceone.ribs.common.bundles.DbResourceBundle /
index.jsp
s:text name=FS_UI_ACCT_SWITCH_EN_BUTTON_GO_ACCOUNT/
A followup to this:
If I put a
On 8/24/10 12:54 PM, Greg Akins wrote:
On Tue, Aug 24, 2010 at 10:51 AM, akinsgreangryg...@gmail.com wrote:
struts.xml
constant name=struts.custom.i18n.resources
value=com.fiserv.sourceone.ribs.common.bundles.DbResourceBundle /
That constant has a String value.
index.jsp
s:text
On Tue, Aug 24, 2010 at 1:13 PM, Dale Newfield d...@newfield.org wrote:
struts.xml
constant name=struts.custom.i18n.resources
value=com.fiserv.sourceone.ribs.common.bundles.DbResourceBundle /
That constant has a String value.
From what I've read, the struts.custom.i18n.resources constant
Yippee!!
After a little more Googling it occurred to me that the default might
be still set in struts.properties; it was.. and when I removed it my
DbResourceBundle started working
Thanks for bearing with me
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
View this message in context:
http://old.nabble.com/Re%3A-Any-way-to-load-resources-in-java.util.ResourceBundle
I'm resurrecting this message because I have the same need.
I'm converting some code to Struts2, from a JSP/Servlet application.
Currently we create bundles from a database, that have keys per
customer and language for most of the text in our application.
A simple solution to this would be to
the
getLocale() method appropriately.
Mike
-Original Message-
From: Greg Akins [mailto:angryg...@gmail.com]
Sent: Friday, July 16, 2010 7:58 AM
To: user@struts.apache.org
Subject: Re: Any way to load resources in java.util.ResourceBundle
I'm resurrecting this message because I have
.. is there
anyway to define that globally? I'm using SiteMesh, so maybe defining
it in a decorator might be good enough?
-Original Message-
From: Greg Akins [mailto:angryg...@gmail.com]
Sent: Friday, July 16, 2010 7:58 AM
To: user@struts.apache.org
Subject: Re: Any way to load
Message-
From: Greg Akins [mailto:angryg...@gmail.com]
Sent: Friday, July 16, 2010 9:34 AM
To: Mike Fotiou
Cc: user@struts.apache.org
Subject: Re: Any way to load resources in java.util.ResourceBundle
Thanks Mike
On Fri, Jul 16, 2010 at 8:21 AM, Mike Fotiou mike.fot...@tpsgc-pwgsc.gc.ca
wrote:
I
On Fri, Jul 16, 2010 at 8:21 AM, Mike Fotiou
mike.fot...@tpsgc-pwgsc.gc.ca wrote:
Finally, in the view, you must wrap an i18n tag for the text-based tags to
work properly:
@s.i18n name=.utils.content.DataResourceBundle
This isn't working for me.
My DbResourceBundle is a class that
=com.insomnia.common.bundles.DbResourceBundle /
This should make your resource bundle available globally within your S2
application. You shouldn't need to specify it again with the i18n tag. Just
use the s:text tag.
Jeff
--
View this message in context:
http://old.nabble.com/Re%3A-Any-way-to-load-resources
On Fri, Jul 16, 2010 at 9:24 PM, J_e_f_f jam0...@gmail.com wrote:
If you're specifying your DbResourceBundle class in the web.xml like:
constant name=struts.custom.i18n.resources
value=com.insomnia.common.bundles.DbResourceBundle /
Was that a typo? Did you
-to-load-resources-in-java.util.ResourceBundle-tp27343882p27642648.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
no help on this one?
On Wed, Jan 27, 2010 at 12:43 PM, Bhaarat Sharma bhaara...@gmail.comwrote:
We have seen situations where sometimes the global resource bundles are
lost intermittently for some sessions. We are in a clustered/shared
environment where multiple apps are deployed onto a
We have seen situations where sometimes the global resource bundles are lost
intermittently for some sessions. We are in a clustered/shared environment
where multiple apps are deployed onto a GlassFishV2 server. Multiple apps
share the struts2 core jars.
We have some pages where we have written
16 matches
Mail list logo