<tile:useAttribute id="titleKey" name="title"><bean:message key="${titleKey}"/>
if that doesn't work, try this:
<c:set var="titleKey"><tiles:getAsString name="title"/></c:set><bean:message key="${titleKey}"/>
Caroline Jen wrote:
In general, the tile works fine for me except the
"title" piece.
[CODE]
.....
<BODY>
<tiles:getAsString name="title"/>
<tiles:get name="header"/>
<tiles:get name="message"/>
<tiles:get name="content"/>
<tiles:get name="navbar"/>
</BODY>
.....
[/CODE]
In my tiles-def.xml, I have:
[CODE]
<definition name=".article.Menu"
extends=".article.Base">
<put name="title" value="article.Menu.title"/>
<put name="content" value="/article/content/menu.jsp"/>
<put name="navbar" value="/article/common/navbarMenu.jsp"/>
</definition>
[/CODE]
The problem is that my application displays
article.Menu.title
in the browser, instead of going to the
application.properties (which is in the
ApplicationRoot/WEB-INF/classes/resources folder) to
get
article.Menu.title=Registered Members
What should I do?
__________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Jason Lea
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]