Re: Tile Problem

2004-03-25 Thread Tin Pham
Hi, You need to do the following in the jsp page, tiles:useAttribute name=title/ Then where you want the internationalized text to appear you use, bean:message name=title/ Oh yeah you will need to add your taglib references as follows, %@ taglib uri=/whateverYourPathIs prefix=tiles % %@ taglib

Re: Tile Problem

2004-03-25 Thread Caroline Jen
I followed your suggestion. Now, when I ran my application, I got article.Main.title???en_US.??? displayed in the browser. Still, cannot pick up the article.Menu.title=Registered Members in the application.properties (which is located in the ApplicationRoot/WEB-INF/classes/resources

RE: Tile Problem

2004-03-25 Thread Avinash Gangadharan
/ tiles:get name=navbar/ /BODY . [/CODE] -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 4:52 PM To: Struts Users Mailing List Subject: Re: Tile Problem I followed your suggestion. Now, when I ran my application, I got article.Main.title

RE: Tile Problem

2004-03-25 Thread Caroline Jen
: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 4:52 PM To: Struts Users Mailing List Subject: Re: Tile Problem I followed your suggestion. Now, when I ran my application, I got article.Main.title???en_US.??? displayed in the browser. Still, cannot pick up

Re: Tile Problem

2004-03-24 Thread Jason Lea
If you are using JSTL you can do this: tile:useAttribute id=titleKey name=titlebean:message key=${titleKey}/ if that doesn't work, try this: c:set var=titleKeytiles:getAsString name=title//c:setbean:message key=${titleKey}/ Caroline Jen wrote: In general, the tile works fine for me except

Re: Tile Problem

2004-03-24 Thread Caroline Jen
I tried both of your suggestions. For example, I have [code] . BODY c:set var=titleKeytiles:getAsString name=title//c:setbean:message key=${titleKey}/ tiles:get name=header/ tiles:get name=message/ tiles:get name=content/ tiles:get name=navbar/ /BODY . [/code] I got

Re: Tile Problem

2004-03-24 Thread Jason Lea
Are you using the struts-el tags. You might have them installed as bean-el in which case you would need to use c:set var=titleKeytiles:getAsString name=title//c:setbean-el:message key=${titleKey}/ I only use the EL tags, so I just use bean as the tag prefix eg %@ taglib