I've got a situation where I want to include a header file with
<template:insert template="/share/inc_header.jsp">
<template:put name="header_image" content="/media/h_modify.gif" direct="true"/>
</template:insert>
and then in the header file have
<html:img page="/media/h_modify.gif" width="315" height="23" border="0"/>
but replace the page="" with the <template:get/>. Trouble is you can't nest
tags. One options is to do the html without the jsp, and have
<img src="<%= request.getContextPath() %>/media/h_modify.gif" width="315"
height="23" border="0"/>
but that doesn't look great, but I can't think of anything else. The <template:put/>
seems to hide the content away somewhere away in the request, and I don't want to
create 20 little html/jsp pages for the different headers that I have.
Any ideas?
--
Kumera - a new Open Source Content Management System
for small to medium web sites written in Perl and using XML
http://www.cyber4.org/kumera/index.html