You can use a Layout for this, but it is unnecessary. Try starting out
writing a FrameScreen that returns a null layout.
getLayout(RunData data){
return null;}
Name this appropriately or set it as the default. Then write templates.
One for the frameset and one for each frame. It should not require anything
more special than the standard html that you would normally use to write a
framed page.
I am probably writing this wrong, but the "hooks" would look like:
<frame src="$link("frame1.wm")">
John McNally
----- Original Message -----
From: Diethelm Guallar, Gonzalo <[EMAIL PROTECTED]>
To: 'Turbine' <[EMAIL PROTECTED]>
Sent: Thursday, September 14, 2000 7:58 AM
Subject: WebMacroOnlyLayout, frames and WM
> I'm trying to use the WebMacroOnlyLayout to set up
> several frames on the screen. The layout works fine,
> but I have been unable to hook the "data" frame
> back with the WebMacro templates. The idea would be
> to use one of the frames as the "data" area; in here,
> I would like to show the actual content for my site.
> This content is written with WM templates.
>
> I have tried this:
>
> * Pointing the contents of the "data" frame directly to my
> WebMacro template (which only has $screen_placeholder):
>
> <frame name=data src="index.wm">
>
> but I get the source for default.wm rendered on the screen
> as plain text.
>
> * Pointing the contents of that frame to an HTML file which,
> in turn, redirects to index.wm:
>
> <frame name=data src="data.html">
>
> and data.html has
>
> <head>
> <META HTTP-EQUIV="REFRESH"
> CONTENT = "1; URL=/sonda/servlet/sonda/screen/index.wm">
> </head>
> <body>
> Redirecting...
> </body>
>
> This doesn't seem to work, and is a horrible hack...
>
> Anybody has suggestions for how to make the WM templates
> hook into one of the frames?
>
> Thanks,
>
>
> --
> Gonzalo A. Diethelm
> [EMAIL PROTECTED]
>
>
> ------------------------------------------------------------
> 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]