On Thu, 10 Oct 2002 19:54, you wrote: > > I am pretty sure you only need one webapp, unless I am > > misunderstanding something. > > no misenderstanding, i need only one app, i though using two as i used > the ecslayout. > > what kind of difference are between the ecs and the only layouts ?
VelocityECSLayout, produces the <html>, <head> and <body> tags and gives you access to the TemplatePageAttributes pull tool (accessed as $page from your templates). See "Using the TemplatePageAttributes Object" in this document: http://jakarta.apache.org/turbine/turbine-2/howto/context-howto.html VelocityOnlyLayout doesn't produce any part of the document at all, so you need to add the <html>, <head> and <body> tags yourself (or <vxml> tags in your case). With VelocityOnlyLayout, you can't use the TemplatePageAttributes pull tool which can make it difficult to set the page title (and other things in the head section) from your screen templates if you are using layout and navigation templates. However, I seem to remember a long time ago someone submitted a proposal for how to emulate the functionality of TemplatePageAttributes when using VelocityOnlyLayout. Does anyone else recall this? Regards, -- Rodney -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
