The 'Velocity Frames' section of 
http://jakarta.apache.org/turbine/howto/velocity-site-howto.html has all the
basics.

Age

> -----Original Message-----
> From: Scott Eade [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 19, 2001 12:36
> To: [EMAIL PROTECTED]
> Subject: Frames
>
>
> I want to see how my application looks when I use frames.
> Looking at the mail archive there are a couple of references
> to the fact that in order to use frames I need to change the
> default layout from VelocityECSLayout to VelocityOnlyLayout.
>
> After making this change it is clear that VelocityECSLayout
> provides some basic structure to the page that
> VelocityOnlyLayout does not - things like <html> elements,
> etc.
>
> This means that things like $page.setStylesheet() and
> $page.setTitle() no longer seem to work.
>
> When it comes to adding the frames themselves, it is not
> entirely clear how I let Velocity know which frames are
> to contain which templates.  Do I need to define a document
> for say the top navigation and place
> $navigation.setTemplate("/DefaultTop.vm") within it?
> [tried it - doesn't work]
>
> Has anybody using turbine got frames working correctly?
> If you have, would you mind posting an example layout
> file along with any hints you have that might allow me to
> skip a few of the problems that may jump out along the way.
>
> Thanks,
>
> Scott
>
>
>
> ---------------------------------------------------------------------
> 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