W dniu 15 lutego 2010 17:33 użytkownik CRANFORD, CHRIS
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:
if you want to also use your implementat
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
napisał:
> Yes they are. In fact, all
W dniu 15 lutego 2010 15:28 użytkownik CRANFORD, CHRIS
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
--
Łukasz
http://www.lenar
W dniu 15 lutego 2010 15:15 użytkownik CRANFORD, CHRIS
napisał:
> Lukasz -
>
> I have configured the bean in struts.xml as follows:
>
> type="com.opensymphony.xwork2.TextProvider"
> name="seek"
> class="com.setech.seek.struts2.i18n.TextProviderSupport"
> />
>
> Aside from configuring this bean
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 backed
2010/2/12 CRANFORD, CHRIS :
> Anyone have any suggested ways to support i18n internationalization
> backed by a da
2010/2/12 CRANFORD, CHRIS :
> 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 configure it as a bean in
s
language
labels.
--
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
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?
---
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: user-h...@s
9 matches
Mail list logo