to my struts.xml configuration allowing this
provider to be used when I use s:text/ and getText() methods?
Chris
-Original Message-
From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Sent: Monday, February 15, 2010 12:58 AM
To: Struts Users Mailing List
Subject: Re: i18n database
W dniu 15 lutego 2010 15:15 użytkownik CRANFORD, CHRIS
chris.cranf...@setech.com napisał:
Lukasz -
I have configured the bean in struts.xml as follows:
bean
type=com.opensymphony.xwork2.TextProvider
name=seek
class=com.setech.seek.struts2.i18n.TextProviderSupport
/
Aside from
W dniu 15 lutego 2010 15:28 użytkownik CRANFORD, CHRIS
chris.cranf...@setech.com napisał:
Yes they are. In fact, all my actions are based on a custom common action
called SeekBaseAction which extends ActionSupport.
So, just define TextProvider as mentioned by me and should work!
Regards
--
k
-Original Message-
From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Sent: Monday, February 15, 2010 8:38 AM
To: Struts Users Mailing List
Subject: Re: i18n database backed
W dniu 15 lutego 2010 15:28 użytkownik CRANFORD, CHRIS
chris.cranf...@setech.com napisał:
Yes
W dniu 15 lutego 2010 17:33 użytkownik CRANFORD, CHRIS
chris.cranf...@setech.com napisał:
2.1.6
I cannot move to 2.1.8 yet without impact to a few other things sadly :(.
I made a small mistake, you have to define your own bean and then
define two constants in struts.xml:
bean
2010/2/12 CRANFORD, CHRIS chris.cranf...@setech.com:
Anyone have any suggested ways to support i18n internationalization
backed by a database table rather than property files?
You have to write your own TextProvider - take a look on ActionSupport
implementation to get more details. And then
.
--
View this message in context:
http://old.nabble.com/i18n-database-backed-tp27569081p27579439.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
Anyone have any suggested ways to support i18n internationalization
backed by a database table rather than property files?
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail:
Chris, What sort of benefit database will offer over properties files?
Regards,
Balwinder Kumar
CRANFORD, CHRIS wrote:
Anyone have any suggested ways to support i18n internationalization
backed by a database table rather than property files?
9 matches
Mail list logo