You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Carme Vilarroig <cv...@fihoca.com> on 2001/07/04 12:41:34 UTC

Using Frames

Hi,

I'm new using Turbine and I'm trying to use frames but I don't know how to use them, maybe there's a parameter to change in TurbineResources.properties or maybe there's a special way to use them...

First I'd tried to write code in a screen template but it didn't work, then I'd tried to make a layout template with the frameset code below:

<html>
<head>
<title>Alta/Baja usuarios</title>
</head>
<frameset rows="220,300" cols="*" frameborder="NO" border="0" framespacing="0">


  <frame src="$link.setPage("Page1.vm")" scrolling="NO" frameborder="NO" noresize name="Superior" marginwidth="0" marginheight="0">
  <frame src="$link.setPage("Page2.vm")"  name="inferior" scrolling="AUTO" noresize frameborder="NO" marginheight="0" marginwidth="0">

</frameset>
<noframes> 
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes> 
</html>

but it still doesn't work. I need some help.

Thanks in advance

Carme Vilarroig


RE: Using Frames

Posted by Age Mooy <am...@home.nl>.
http://jakarta.apache.org/turbine/howto/velocity-site-howto.html 

has the basics. You need to set your default layout to VelocityOnlyLayout

Age

> -----Original Message-----
> From: Carme Vilarroig [mailto:cvilarroig@fihoca.com]
> Sent: Wednesday, July 04, 2001 12:42
> To: turbine-user@jakarta.apache.org
> Subject: Using Frames
> 
> 
> Hi,
> 
> I'm new using Turbine and I'm trying to use frames but I don't know how to use them, maybe there's 
> a parameter to change in TurbineResources.properties or maybe there's a special way to use them...
> 
> First I'd tried to write code in a screen template but it didn't work, then I'd tried to make a 
> layout template with the frameset code below:
> 
> <html>
> <head>
> <title>Alta/Baja usuarios</title>
> </head>
> <frameset rows="220,300" cols="*" frameborder="NO" border="0" framespacing="0">
> 
> 
>   <frame src="$link.setPage("Page1.vm")" scrolling="NO" frameborder="NO" noresize name="Superior" 
> marginwidth="0" marginheight="0">
>   <frame src="$link.setPage("Page2.vm")"  name="inferior" scrolling="AUTO" noresize 
> frameborder="NO" marginheight="0" marginwidth="0">
> 
> </frameset>
> <noframes> 
> <body bgcolor="#FFFFFF" text="#000000">
> </body>
> </noframes> 
> </html>
> 
> but it still doesn't work. I need some help.
> 
> Thanks in advance
> 
> Carme Vilarroig
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: Using Frames

Posted by Jason van Zyl <jv...@apache.org>.
On 7/4/01 6:41 AM, "Carme Vilarroig" <cv...@fihoca.com> wrote:

> Hi,
> 
> I'm new using Turbine and I'm trying to use frames but I don't know how to use
> them, maybe there's a parameter to change in TurbineResources.properties or
> maybe there's a special way to use them...
> 
> First I'd tried to write code in a screen template but it didn't work, then
> I'd tried to make a layout template with the frameset code below:

Which layout module are you using? You have to use VelocityOnlyLayout
if you want to use frames. There are messages pertaining to this in
the mail archives.
 
> <html>
> <head>
> <title>Alta/Baja usuarios</title>
> </head>
> <frameset rows="220,300" cols="*" frameborder="NO" border="0"
> framespacing="0">
> 
> 
> <frame src="$link.setPage("Page1.vm")" scrolling="NO" frameborder="NO"
> noresize name="Superior" marginwidth="0" marginheight="0">
> <frame src="$link.setPage("Page2.vm")"  name="inferior" scrolling="AUTO"
> noresize frameborder="NO" marginheight="0" marginwidth="0">
> 
> </frameset>
> <noframes> 
> <body bgcolor="#FFFFFF" text="#000000">
> </body>
> </noframes> 
> </html>
> 
> but it still doesn't work. I need some help.
> 
> Thanks in advance
> 
> Carme Vilarroig
> 
> 

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org