I have a 'general.jsp' page, which is a form of the standard 'classic layout' template, with header, menu and body. Within it I insert the menu tile thus:
<tiles:insert page="menu.jsp" flush="true"/>
The general.jsp template is used by specific pages such as the Support one, thus:
<tiles:insert page="general.jsp"> <tiles:put name="pageTitle" type="string" value="Support"/> <tiles:put name="body" type="page" value="support.html"/> </tiles:insert>
All well and good. Now, though, I want to know within the menu.jsp page which specific page I'm on. If I could nest JSP tags, I could do it like this:
<tiles:insert page="menu.jsp" flush="true">
<tiles:put name="pageTitle" type="string" value="<tiles:getAsString name='pageTitle'/>"/>
</tiles:insert>
But of course I can't do this. My suspicion is that I've got the whole thing back to front. Where do I go from here? This has to be an easy thing to do!
John
-- ============================================= John Moore - Norwich, UK - [EMAIL PROTECTED] =============================================
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]