fatcodeguy
Programmer
Hi,
I have a tile definition called from each page
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
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