Hi SR,

It seems to me that there is a version problem with cfbodycontent on
www.fusebox.org. The one on the site does not, as the book suggests, have
the functionality of app_layout.cfm incorporated into it. Therefore to make
your code work you will need to cfinclude a file called app_layout.cfm, or
manually update cfbodycontent.cfm using the code from page 48 of the Fusebox
book.

Marc

-----Original Message-----
From: S. R. [mailto:[EMAIL PROTECTED]]
Sent: 04 February 2001 16:12
To: Fusebox
Subject: First Fusebox site


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