Re: Use tiles:getAsString to return a key to s:text

2007-02-04 Thread Gonçalo Luiz
nstead: Regards, Dj. -Original Message- From: Gonçalo Luiz [mailto:[EMAIL PROTECTED] Sent: Saturday, February 03, 2007 7:53 PM To: Dave Newton Cc: Struts Users Mailing List Subject: Re: Use tiles:getAsString to return a key to s:text Hello Dave, Thank you for your answer. However what I w

RE: Use tiles:getAsString to return a key to s:text

2007-02-04 Thread Djordje Trifunovic
: Dave Newton Cc: Struts Users Mailing List Subject: Re: Use tiles:getAsString to return a key to s:text 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 . What I'm seeking is to put a key in

Re: Use tiles:getAsString to return a key to s:text

2007-02-03 Thread Gonçalo Luiz
Hello Dave, Thank you for your reply. I'd like to have a "default" title in my layout tile and then redefine it in the tiles I want, just like I redefine the other tiles components. The problem I'm having is that I'm not getting a tag to work when it have another tag as an attribute value. I t

Re: Use tiles:getAsString to return a key to s:text

2007-02-03 Thread Dave Newton
--- Gonçalo Luiz <[EMAIL PROTECTED]> wrote: > Is it clear what I'm trying to achieve ? No; Why do you want the key in the tiles file? d. Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Dr

Re: Use tiles:getAsString to return a key to s:text

2007-02-03 Thread Gonçalo Luiz
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 . What I'm seeking is to put a key in tiles configuration file (usually tiles.xml) like: that gets included in the page by using . However by d

Re: Use tiles:getAsString to return a key to s:text

2007-02-03 Thread Dave Newton
--- Gonçalo Luiz <[EMAIL PROTECTED]> wrote: > I'd like to do something like name=" 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. ___

Re: Use tiles:getAsString to return a key to s:text

2007-02-03 Thread Oren Livne
Hi Luiz, I am only a novice but this might help: replace the quotes by a single quote around the title: Oren Gonçalo Luiz wrote: Hello, I'd like to do something like "/> to internationalize my page title. Then in the tiles configuration I'd have Is this possible to achive ? ---