Hi, Anen:
First, I want to clarify that the great sample(test.zip) was posted by Sean. We should
thank him. Sean, are you listening us?
I had the same problem as what you have. It seems that struts template doesn't work
well with frame. If someone can answer this, that would be great.
Thanks.
Keven
----- Original Message -----
From: Anen Wu
To: [EMAIL PROTECTED]
Sent: Thursday, September 05, 2002 11:26 PM
Subject: how to display Struts Tags inside Template Pages ?
Hi Keven,
I have seen you post a sample (test.zip) to one of user in struts mailing list
related to Template in Struts.
It's a great sample of how to work with Template in Struts.
It'w working fine, however, if I put some struts tag into the body, it can not
display the struts tags (can not be rendered)
Here is the following page which I modified from yours :
Any clues ?
===========================================
bBody.jsp
<html:form action="trans.do">
Text Box Here :
<html:text property="cardMessage" size="40"/>
</html:form>
b's body...
<p>
===========================================
and I called index.jsp which contains :
===============================
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<template:insert template='template.jsp'>
<template:put name='title' content='Templates' direct='true'/>
<template:put name='header' direct='true' >
<%= request.getContextPath() %>/test/bBody.jsp
</template:put>
<template:put name='content' direct='true'>
<%= request.getContextPath() %>/test/tour.html
</template:put>
</template:insert>
====================================