Trying %{getText('xxx')} On Wed, Jan 27, 2010 at 6:24 PM, Nicola Bortolotti < bortolotti.nic...@gmail.com> wrote:
> Sorry Saiid, I feel very dummy; I will try a little more, then I back > on it in next days.. > > I've just read it display tag reference, but nothing new. > > As I told you, my properties file are already named as > "package_it.properties", "package.properties", and, as I said before, > in the same page, > <s:text name="xxx" /> WORK > but > <display:column property="id" titlekey="xxx" /> DOESN'T WORK > > I also found this: > " > http://sourceforge.net/mailarchive/message.php?msg_id=200810251819.26242.tkrah%40fachschaft.imn.htwk-leipzig.de > " > Is it interesting for me? > > Overmore, at the moment, "displaytag.properties" (into > displaytag-1.2.jar) contain > locale.provider=org.displaytag.localization.I18nJstlAdapter > Should I modify it as > locale.provider=org.displaytag.localization.StrutsAdapter > or this constant is usable only with struts1? > > I'm tired, problably I'm starting being cloud... > > Nicola > > > Cheers, > Nicola > > > > > Now your properties file must be called package.properties :) > > see display tag refernce > > On Wed, Jan 27, 2010 at 5:30 PM, Nicola Bortolotti < > bortolotti.nic...@gmail.com> wrote: > > > Thank you Saiid, but it continue not working.. > > Probably I don't understand. I've update this constant > > struts.custom.i18n.resources=package > > in "struts2-core-2.1.6.jar/org/apache/struts2/default.properties" (the > > only default.properties file into my project), > > and restart server, but, AS BEFORE MODIFY CONSTANT, > > > > -------------------------------------------------------- > > ... > > <p> test1: <s:text name="xxx" /> </p> > > ... > > <display:table name="lista" pagesize="20"> > > <display:column property="id" titlekey="xxx" /> > > </display:table> > > -------------------------------------------------------- > > > > <s:text name="xxx" /> retrive correct value, > > <display:column property="id" titlekey="xxx" /> doesn't retrive > > nothing..... > > > > so, probably, I don't understand something.. > > Anyway, thank you very much for your effort. > > > > Nicola > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Saeed Iqbal Independant Consultant J2EE - Application Architect / Developer