RE: Tile Problem

2004-03-25 Thread Caroline Jen
ruts-bean.tld" > prefix="bean" %> > > > > . > > > > > > > > > > . > [/CODE] > > -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 25, 2004 4:52 PM > To: Struts Users Mai

RE: Tile Problem

2004-03-25 Thread Avinash Gangadharan
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 the article.Menu.title=Registered Members in the application.properties (which is located in t

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 folder)

Re: Tile Problem

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

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 key="${titleKey}"/> I only use the EL tags, so I just use bean as the tag prefix eg <%@ taglib uri="/WEB-INF/jsp/tags/struts-bean-el.tld" prefix="bean" %> Caroline Jen wrote: I t

Re: Tile Problem

2004-03-24 Thread Caroline Jen
I tried both of your suggestions. For example, I have [code] . . [/code] I got java.lang.IllegalArgumentException: can't parse argument number titleKey --- Jason Lea <[EMAIL PROTECTED]> wrote: > If you are using JSTL you can do this: > > name="title"> key="${titleKey}"/> > > i

Re: Tile Problem

2004-03-24 Thread Jason Lea
If you are using JSTL you can do this: if that doesn't work, try this: Caroline Jen wrote: In general, the tile works fine for me except the "title" piece. [CODE] . . [/CODE] In my tiles-def.xml, I have: [CODE] extends=".article.Base"> [/CODE] Th