Re: i18n database backed

2010-02-15 Thread Lukasz Lenart
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

RE: i18n database backed

2010-02-15 Thread CRANFORD, CHRIS
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

Re: i18n database backed

2010-02-15 Thread Lukasz Lenart
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

Re: i18n database backed

2010-02-15 Thread Lukasz Lenart
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

RE: i18n database backed

2010-02-15 Thread CRANFORD, CHRIS
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

Re: i18n database backed

2010-02-14 Thread Lukasz Lenart
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

Re: i18n database backed

2010-02-13 Thread DustFrog
I can see how it can be beneficial in these ways: 1) The application does not have to be redeployed if changing existing labels. 2) Label descriptions can be modified in real time. 3) If there are multiple applications and common labels, they can be shared among the other applications.

Re: i18n database backed

2010-02-12 Thread Balwinder Kumar
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? ---