Hi all,

On the topic of the standard FuseBox tags,  I wonder are any of you XFB 
junkies out there using CF_BodyContent, or do you have some other incredibly 
clever way to do all of those cool things?

My XFB fusebox look like this:
<CFINCLUDE template="myGlobals.cfm">
<CF_XFB LOCATION="#getcurrenttemplatepath()#">

<cfif NOT XFB.myaction>
  <cfinclude template="#XFB.nextcircuit#">
<cfelse>
  <CF_BODYCONTENT>
    <cfswitch expression = "#attributes.fuseaction#">
      <cfcase value=...>
        ...
      </cfcase>
      <cfdefaultcase>
        <CF_UnknownFuseAction>
      </cfdefaultcase>
    </cfswitch>
  </CF_BODYCONTENT>
</cfif>

Is there some better way to do this?  Frankly, I'm surprised that Hal's 
demos don't use CF_BodyContent, which I consider to be the most amazingly 
useful of all FuseBox tags.  What does he know that I don't? ;-)

Thanks heaps,
Lee Bjork Borkman
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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