> -----Original Message----- > From: You Xu [mailto:[EMAIL PROTECTED] > Sent: Monday, December 06, 2004 2:38 PM > To: [EMAIL PROTECTED] > Subject: RE: tiles and message internationalization > > > In the xml definition file, I have to write <put name="title" > value="title.jsp" />. This is why the extra JSP file title.jsp is > created. I can not just put the <bean:message .....> for the "value" > attribute. I am wondering if there is any simpler way so you can put > the message directly into the xml file. >
Oh, well the answer is yes, yes there is.... :) <title><tiles:getAsString name="title"/></title> <tiles:insert blah> <tiles:put name="title" value="Duh Title O' Dis Page Here"/> </tiles:insert> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]