Christophe Lombart wrote:
>
> Hi all,
>
> I want to change the layout for a group of velocity pages because these
> pages are using a common javascript menu.
>
> For that, I'm using in the a common screen class :
> data.getTemplateInfo().setLayoutTemplate("/mylayout.vm");
You say you have a common Screen class. This is generally done by
matching a package to the directory structure of the templates that
share the Screen. If this is how you are matching the Screen, then you
can do the same thing for a common layout template. Just create a
similar file hierarchy under layouts as you have under screens.
screens/foo/bar/template1.vm
screens/foo/bar/template2.vm
screens/foo/bar/template3.vm
will all use
layouts/foo/bar/default.vm
if it exists.
>
> That's work fine but is it possible to do similar stuff without a Screen
> class ? I tested it in an Action class but it does'nt work. why ?
>
> My second question is : it is possible to use an HTML frame with Turbine. It
> seems that it is not possible. Why ? In my case without an HTML frame, the
> browser is reloading all the time my javascript menu which is not
> interesting for dynamic behaviour.
>
> Many thanks for your comment,
> Christophe
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]