Hi Chris, 
Sorry to bother you but for me it doesn't work. Below is th e snippet
for my code

<template:insert template='testpage.jsp' >
<template:put name='title' direct='true'>HELLO</template:put>
</template:insert>


Shelly

"Assenza, Chris" wrote:
> 
> Shelly,
> 
> I've cut and paste the template for one of our pages (minus a lot of extra
> puts). This does indeed work.
> 
> <template:insert template="/template.jsp">
>         <template:put name="title" direct="true"><bean:message
> key="acctmaint.window.title" /></template:put>
>         <template:put name="test"  direct="true">HTML Text</template:put>
> </template:insert>
> 
> Make sure you aren't closing the opening put tag with a slash before the
> content
> (ie. DO NOT DO: <template:put name="title" direct="true"
> />html</template:put>)
> (note the slash before ">html</")
> 
> Chris
> 
> Christopher Assenza
> Phone:  412.201.6026
> Fax:     412.201.6060
> Email:  [EMAIL PROTECTED]
> ACCESSDATA
> Moving Your Business from Point A to Point e.SM
> http://www.accessdc.com/
> 
> -----Original Message-----
> From: Shelly Dhiman [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 24, 2001 2:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: URGENT: PLEASE HELP
> 
> Hi,
> 
> It does not work. It complains about ending the template:put tag
> 
> Shelly
> 
> "Assenza, Chris" wrote:
> >
> > <template:put name="abc" direct="true"><b>Hello, I'm HTML in a
> > template</b></template:put>
> >
> > Chris
> >
> > Christopher Assenza
> > Phone:  412.201.6026
> > Fax:     412.201.6060
> > Email:  [EMAIL PROTECTED]
> > ACCESSDATA
> > Moving Your Business from Point A to Point e.SM
> > http://www.accessdc.com/
> >
> > -----Original Message-----
> > From: Shelly Dhiman [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 15, 2001 1:51 PM
> > To: [EMAIL PROTECTED]
> > Subject: URGENT: PLEASE HELP
> >
> > In
> >         template:put name='abc' content='' tag
> > can we put direct html code fragment
> >
> > Shelly

Reply via email to