I've looked at all the postings I could find on this topic and none of them seems to address the proper accessing of nested tiles.
Does anyone know how can I access and output onto my page the value of a tile nested within another tile? All I get when I try to output the value of the nested tile, is the value of the parent tile (which in the example below is ".links.tools"). What I want to do: Output the VALUE of the nested tile (not the value of the parent tile-- which is currently being passed) Below is the stripped down version of what I am trying to make work: <!--stripped down tiles-def.xml--> <definition name=".links.home" path="/index.jsp"> <put name="tools_links" value="/blankbody.jsp"/> <put name="external_link" value="http://www.cnn.com"/> <put name="currentPage" value="" /> </definition> <definition name=".links.tools" extends=".links.home"> <put name="tools_links" value="/tools.jsp" /> <put name="external_link" value="http://www.cnn.com"/> <put name="currentPage" value="Tools Links"/> </definition> <definition name=".frame.tools" path="/tools.jsp" > <put name="links" value=".links.tools" /> </definition> <!-- stripped down struts-config.xml --> <action path="/Tools/Home" parameter=".frame.tools" type="org.apache.struts.actions.ForwardAction"/> <!--stripped down tools.jsp file --> <tiles:importAttribute name="tools_links" ignore="true" scope="page" /> <tiles:importAttribute name="currentPage" ignore="true" scope="page" /> <tiles:importAttribute name="external_link" ignore="true" scope="page" /> <tiles:insert attribute="links"> <c:set var="currentPage" value="${currentPage}"/> <c:set var="tools_links" value="${tools_links}"/> <html:link action="${tools_links}">${currentPage}</html:link> ${external_link} CNN </tiles:insert> -- View this message in context: http://www.nabble.com/Accessing-Nested-Tiles-tf3469870.html#a9682664 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]