On Wed, 8 Jan 2003 13:28, you wrote:
> I think it's better to specify layout template in a request, just
> like screen template.

No, you can't specify the layout template in the request.

> But does turbine support this? And how?

In Turbine, the screen determines its layout.  Turbine automatically 
searches for the layout template based on the screen template name.  

For more information, see the "How the templates are found" section of 
the Velocity Site Howto:
http://jakarta.apache.org/turbine/turbine-22/howto/velocity-site-howto.html

If you need to override this default behaviour from a screen template, 
you should be able to use:

$data.setLayoutTemplate(layout)

Hope that helps,

-- Rodney

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

Reply via email to