Mmmm... now I am trying with an Action. The only problem is the the
data.setLayoutTemplate() seems not to be working. It keeps using the
Default.html Layout. Any idea?

Rodrigo

----- Original Message ----- 
From: "Jeffery Painter" <[EMAIL PROTECTED]>
To: "Turbine Users List" <[EMAIL PROTECTED]>
Sent: Thursday, August 14, 2003 3:41 PM
Subject: Re: How do I send a text file using a Velocity Screen?


>
> strange... i saw one of those errors in my app today too :) the "Turbine -
> A servlet framework" message... I restarted tomcat and it went away. I
> think same problem I was experiencing where it did not reload the extended
> user context ... it is weird.
>
> put something in your Empty.vm layout file and see if it comes through, if
> it does, then the $data.setLayoutTemplate is surely working.
>
> I think the VelocityScreen method is going to be your best bet, as you can
> use the template to stuff objects in through the context, whereas
> rawscreen, you have to manipulate everything on the back end without the
> benefit of using templates.
>
>
> jeff
>
> On Thu, 14 Aug 2003, Rodrigo Reyes wrote:
>
> > Mmmmm... Ok. I tried with your first advice but using a
VelocityScreen...
> > Everything seems to work fine, but I don't know why I get some extra
code at
> > the beginning and at the end with this: "Turbine - A Servlet Framework
for
> > building Secure Dynamic Websites". Any idea what could be happening? I
> > suspect the data.setLayoutTemplate("/Empty.html"); method is not to be
> > working, but I am not sure...
> >
> > Rodrigo
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



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

Reply via email to