I've just try that!
Follow part of coding

I've created "displaytag_IT.properties", "package_it.properties",
"package_en.properties" and I've wrote into every file a property as
xxx=property1111

in the test code of my jsp_page, property were founded from struts tag
but not from displaytag, in the caption of the table:

--------------------------------------------------------
...
<p> test1: <s:text name="xxx" /> </p>
...
<display:table name="lista" pagesize="20">
  <display:column property="id" titlekey="xxx" />
</display:table>
--------------------------------------------------------

Doesn't work: insteed write in column header "property1111", it display "id"...

Other suggestion?
Thanks,
   Nicola




---------- Messaggio inoltrato ----------
From: Saeed Iqbal <saee...@gmail.com>
To: Struts Users Mailing List <user@struts.apache.org>
Date: Wed, 27 Jan 2010 15:32:52 +0500
Subject: Re: internationalize displaytag into struts2
Use titleKey.


On Wed, Jan 27, 2010 at 3:29 PM, Nicola Bortolotti <
bortolotti.nic...@gmail.com> wrote:

> Hi all, first of all, sorry for terrible English.
> In these days I've developed my first, simple application with
> struts2, and, after putting properties file in correct place, I've
> internationalized it.
> Then I've looked for something about how to display a table (data
> grid) and, on your lists, I found two different solution: "struts2
> jQuery Plugin" (too difficult for a newbie as me..) and the simpler
> displaytag (http://displaytag.sourceforge.net/1.2).
>
> After some work I get displaytag working.
> The question is: how can I internationalize header and captions of
> displaytag into struts2?
> Where should I put properties file? Should I modify something into
> displaytag-1.2.jar?
> I follow the manual (http://displaytag.sourceforge.net/1.2/i18n.html)
> and google around, but I don't understand..
>
>
> Thank you very much,
>
>  -Nicola

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

Reply via email to