Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tiles & Nested Definitions

Status
Not open for further replies.

fatcodeguy

Programmer
Feb 25, 2002
281
CA
Hi,

I have a tile definition called from each page

Code:
<login:notPresent name="pagedefinition" scope="application">

<!-- Insert the body of the document using the default template tile -->
  <tiles:definition id="pagedefinition" page="/tiles/baseTile.jsp" scope="application">
    <tiles:put direct="true" name="pageTitle" value="" />
    <tiles:put name="banner" value="banner.jsp">
    <tiles:put name="leftsidemenu" value="leftsidemenu.jsp" />
    <tiles:put name="sharedServices" value="sharedServices.jsp" />
    <tiles:put name="additionalleftsidemenu" value="" />
  </tiles:definition>

</login:notPresent>

I want my banner.jsp page to have acces to the pageTitle string that is inputed from the actual content pages (basically i want to propagate tiles parameters to inserted tiles/attributes). I also want the banner.jsp page to have an attribute of its own.

How do I do this? Do i need to define another tiles:definition for the banner attribute?

All help greatly appreciated! Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top