All our intranet stuff sits in a nested framesets so we took this one
step further by variablizing the "XFAs" of the frameset. We set our
app_layout so that "" assumes frameset and only loads #bodycontent#
and any other setting loads dspHeader#applayout#/dspFooter#applayout#
so that different framesets can easily call different wrappers. The
famesets XFAs are same name as the frame target so easier to remember
what points where...
<cfcase value="Desktop">
<cfset attributes.appLayout="">
<cfset attributes.XFA.navTop="worc.NavTop">
<cfset attributes.XFA.main="worc.MainFrame">
<cfset attributes.XFA.hidden="user.ManageUser">
<cfinclude template="blocks/frm_FrameMaster.cfm">
</cfcase>
<cfcase value="MainFrame">
<cfset attributes.appLayout="">
<cfset attributes.XFA.mainNav="worc.NavWORCLeft">
<cfset attributes.XFA.mainBody="worc.DeskTopHome">
<cfinclude template="blocks/frm_FrameMain.cfm">
</cfcase>
...
<cfcase value="NavWORCLeft">
<cfset attributes.bodybackcolor="white">
<cfset attributes.bodybackcolorLeftNav="WhiteSmoke">
<cfset attributes.appLayout="LeftMain">
</cfcase>
--
Michael Rahmn ~ <mailto:[EMAIL PROTECTED]>
Director of Information Services
Windermere Services Co.
| -----Original Message-----
| From: lee borkman [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, May 31, 2001 3:26 PM
| To: Fusebox
| Subject: Re: CFBODYCONTENT + FRAMES
|
|
| Hey Sneid,
|
| Here's how I do it with a single FuseBox (index.cfm).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists