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 configuring this bean with the tag above, is there any other 
settings or changes I need to make 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 backed

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 configure it as a bean in
struts.xml


Regards
-- 
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to