Tikal>> I do this <tiles:useAttribute id="titleKey" name="title"/> <title><bean:message name="titleKey" scope="page"/></title> This allows for I18N by using a tiles def for the title key and the ApplicationResources file for the text. This is the definition:
<definition name="home.pagedef" extends="layouts.pagedef" > <put name="title" value="home.title" /> <put name="header" value="/web/includes/header.jsp" /> <put name="index" value="/web/pages/home/HomeIndex.jsp" /> <put name="indexMain" value="/web/includes/index.jsp" /> <put name="content" value="/web/pages/home/HomeContent.jsp" /> <put name="footer" value="/web/includes/footer.jsp" /> <put name="styleSheet" value="web/styles/Grey_StyleSheet.css" /> <put name="keywords" value="home.keywords"/> <put name="crumbs" value="/web/includes/crumb.jsp"/> <put name="crumbtitle1" value="Home"/> <put name="crumblink1" value="/home/home"/> <put name="pagename" value="home"/> </definition> and in the applicationResources file: home.title=Cal and VA | Home Cal http://www.calandva.com/ Last update 06/30/02 -----Original Message----- From: Arik Levin ( Tikal ) [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 13:33 To: Struts Users Mailing List Subject: tiles as attribute's value - is it possible ? Hi all. I have some tag which I want it to be like this: <html:mytag value="<tiles:getAsString name="title" />" /> As I saw after some searching I saw that some of you out there did it like this: <tiles:useAttribute name="title" classname="java.lang.String" ignore="true"/> <html:mytag value="<%=title%>"/> Did somebody has manage to come up with a cleaner idea? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>