struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peterkofsky, Don" <>
Subject accessing nested Tiles definitions
Date Tue, 19 Nov 2002 00:27:03 GMT
This question is about how to access the attributes of a Tiles definition
that is used as an attribute of another definition.

I am using a Tiles definition as an attribute in another definition, as
shown below:

<definition name="fw.materials.linkpage"
	<put name="title" 			value="Materials Homepage"/>
	<put name="header"
	<put name="menu" 	        value=""/>
	<put name="footer"
	<put name="content"
	<put name="helpURL"


<!-- main menu items definition -->
<definition name=""
path="/ext/fwnike/client/common/jsp/template/menuLeftNav.jsp" >
	<put name="selectedIndex"  value="0" /> <!-- default selected tab
	<put name="parameterName"  value="menuItem" /> <!-- URL parameter
name for tab index -->
    <putList name="menuItems" >
      <item value="Materials Home"
	  		link="/materialshomepage.jsp" />
      <item value="Supplier Home"
	  		link="/supplierhomepage.jsp" />
      <item value="Materials Search"
	  		link="/materialsearch.jsp" />

I need to know how to use the "menu" attribute in the first definition to
get to the attributes in the second definition; i.e., "parameterName" and
"menuItems".  While I have seen documentation that suggests that definitions
can be nested like this, I have not seen any documentation on how to access
the nested attributes.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message