I had something worked up on a former project that allowed me to add extra header information on a page-by-page basis to Tiles. I don't have access to the source code any more, but it looked something like this:

Tiles definition file:

<tiles-definition>
 <definition name="master" page="masterLayout.jsp">
  <tiles:put name="extra.head.content" value=""/>
  <tiles:put name="header" value="header.jsp"/>
  <tiles:put name="body" value="blank.jsp"/>
  <tiles:put name="footer" value="footer.jsp"/>
 </definition>
 <definition name="page1" extends="master">
  <tiles:put name="extra.head.content" value="&lt;meta refresh='111'&gt;">
  <tiles:put name="body" value="page1.jsp"/>
 </definition>
</tiles-definition>

I don't think that I used the extra.head.content parameter in exactly this way and I haven't used Tiles in a while, but you may be able to get something put together this way.

-- Jeff

andy wix wrote:
The problem is that I am using Tiles and so cannot have (as far as I know) a meta-refresh tag as this should go in the head of the document. Likewise I can't use on-load javascipt as I don't have a body tag.

Thanks,
Andy



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



Reply via email to