Hello Dave, Thank you for your answer.
However what I want to achieve is a little more than just internationalization, what I can do by simply using <s:text name="some.key"/>. What I'm seeking is to put a key in tiles configuration file (usually tiles.xml) like: <put name="title" value="some.key"/> that gets included in the page by using <tiles:getAsString name="title"/>. However by doing just this I get literally "some.key" on my pages title. So what I'm tring is to do use that string in a <s:text> tag like <s:text name="<tiles:getAsString name="title">"/> however I'm getting one of two problems: 1 - If i use the above statement I get a "expecting equal symbol" exception 2 - if I use Oren's suggestion I get <tiles:getAsString anme="title"/> literally in my page's title. Is it clear whatI'm trying to achieve ? Best Regards, Gonçalo Luiz. On 03/02/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Gonçalo Luiz <[EMAIL PROTECTED]> wrote: > I'd like to do something like <s:get > name="<tiles:getAsString > name="title"/>"/> to internationalize my page title. You want to put the key in your tiles file? S2 properties are already I18N-aware: http://cwiki.apache.org/WW/localization.html d. ____________________________________________________________________________________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.
-- Gonçalo Luiz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]