You need to include an app_layout.cfm below the closing cfbodycontent 
tag.  This app layout should have your basic table layout with images, etc, 
and output a variable called request.bodycontent, which is where your html 
is disappearing to.  cfbodycontent captures the output you surroud with it 
to this variable request.bodycontent, so you can display it later in your 
app_layout.  read the bodycontent docs :)

basic app_layout:


<html>
<head>
</head>
<body>
<table>
<tr><td></td><td>#request.bodycontent#</td></tr>
</table>
</body>
</html>





> >From: "S. R." <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: Fusebox <[EMAIL PROTECTED]>
> >Subject: First Fusebox site
> >Date: Sun, 04 Feb 2001 11:12:26 -0500
> >
> >hey guys, working on my first fusebox site and reading Steve's book at the
> >same time..
> >
> >I've developed a simple index.cfm file below  but it displays nothing. If I
> >take out the bodycontent tag it displays correctly. Is there something I'm
> >not getting?
> >
> >  <cfinclude template="app_globals.cfm">
> >
> ><cf_bodycontent>
> >  <cfparam name="attributes.fuseaction" default="">
> >  <cfswitch expression="#attributes.fuseaction#">
> >   <cfdefaultcase>
> >    <cfinclude template="dsp_homepage.cfm">
> >   </cfdefaultcase>
> >  </cfswitch>
> ></cf_bodycontent>
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to