Thanks, I was still banging my head as $renderer.render was not being
recognized (still isn't after making the below switch). Now everything is
rendering with my headers.

-warner

----- Original Message -----
From: "Pete Kazmier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 22, 2002 6:55 PM
Subject: Re: making my own template


> If you want to add your own HTML headers to a layout, you need to change
> the value of the default layout in your Turbine.resources from
> "VelocityECSLayout" to "VelocityOnlyLayout":
>
> services.VelocityService.default.layout = VelocityOnlyLayout
>
> By making this change, you are responsible for all of the output.
>
> Not sure if this helps, as I've never used Turbine yet (and I stress the
> word 'yet')!
>
> On Fri, Feb 22, 2002 at 04:18:07PM -0700, Warner Onstine wrote:
> > I have been trying to figure out how to do this in Turbine 2.x and
> > have been having similar problems to others on the list. How does one
> > create their own html velocity template? When I tried it I ended up
> > with double the needed headers. I have been pouring through the code
> > and cannot figure out where this is specified.
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to