Hi Tanveer,

In a frames page, you can't have the <BODY> tags. It should look like this:

<html>
<head>
  <title>Put a title here</title>
</head>

<frameset rows="20%,*">
   <frame src="http://www.google.com"; />
   <frame src="http://www.yahoo.com"; />
</frameset>

</html>

You should change your Velocity page so that it uses a different Layout, without the "body" tag and probably add a title, because the title in your sub-pages will not show anywhere.

I hope it helps...

Paulo Schlup Santos
Wiaxis.com mobile solutions

Tanveer Dhillon wrote:

hi
I have been able to use frames in velocity bt when i use them with turbine
the same page stops working.
I have a try.vm page havin the following code

<frameset rows="20%,*">
 <frame src="http://www.yahoo.com/"; />
 <frame src="http://www.google.com/"; />
</frameset>

when i place it in my project directory helloworld it works if accessed from
the browser as
http://localhost:8080/helloworld/try.vm

but if i place it in the templates/screens directory and in the turbine
resource properties file i add the following statement
layout.default=VelocityOnlyLayout
and change home page as template.homepage=Try.vm
the frames dont appear in the browser
If i view source fron the browser i get the following code
<html>
<head>
     <title></title>
           </head>
<body  >


<frameset rows="20%,*"> <frame src="http://www.google.com"; /> <frame src="http://www.yahoo.com"; /> </frameset>


</body> </html> can someone help? Am i missing to add something in the turbine resource properties file. thanks Tanveer




--------------------------------------------------------------------- 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