FARINE Arnaud - SOP wrote:
I think to know how to create a new layout....
And I don't want to change the default layout. I would like to use an other
layout on one page only, not all.
So, If I change the default layout in the property file, all my pages will
use the default...
I would like to use one specific layout for a specific page.

So, how can I make it ?


You can use RunData.setLayoutTemplate() to select a specific layout template for the current request. If you don't buffer the output of
your templates (which is the default setting in Jetspeed 1), you'll
need to set the layout template before the portal starts rendering
the page.
You can set this either within a Turbine-level action or by
overriding the JetspeedTemplatePage implementation to implement a
general layout lookup feature if it's useful for you.


--
Rapha�l Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/


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



Reply via email to