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"
path="/ext/fwnike/client/common/jsp/template/page_template_link.jsp">
        <put name="title"                       value="Materials Homepage"/>
        <put name="header"
value="/ext/fwnike/client/common/jsp/region/ptclink_header.jsp"/>
        <put name="menu"                value="fw.menu.links"/>
        <put name="footer"
value="/ext/fwnike/client/common/jsp/region/material_footer.jsp"/>
        <put name="content"
value="/ext/fwnike/client/common/jsp/region/common_home.jsp"/>
        <put name="helpURL"
value="/ext/fwnike/materials/clients/webhelp/fw-materials.htm"/>


</definition>

<!-- main menu items definition -->
<definition name="fw.menu.links"
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" />
    </putList>
</definition>



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.

Thanks. 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to