You can't reference the screen explicitly from the layout. In the layout
you always have:
        <turbine:screen section="body" />
to reference the screen body. If you want a screen named MyScreen.jsp to
have a different layout, you have to create a layout called MyScreen.jsp
and it will be used whenever you request MyScreen.jsp screen.

On Wed, 2003-08-20 at 05:45, David Philippi wrote:
> Could you send me an example layout template? I don't know how to reference
> the screen from within the default.jsp. I could try to include it
> explicitely when using a layout with the same name but when I tried that I
> got exceptions due to the same name of the JSP pages.
> 
> Bye David
> 
> 
> -----Original Message-----
> I hadn't been able to use setLayout(). What I do is to have a layout
> template with the same name of the screen for which I want a different
> layout. Layout templates are located in a directory named layouts at the
> same level that the screens directory. Usually, this is
> templates/app/layouts
> 
> 
> ---------------------------------------------------------------------
> 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