Hi..

new to the list & fusebox, so please bear with..


I'm getting some quirky output using <CF_BODYCONTENT> and APP_LAYOUT.cfm

Here's the app_layout.cfm file:
----
<CFPARAM name="request.bodycontent">
<CFPARAM name="attributes.showbody" default="yes">

<CFIF len(request.headerfile)>
                <cfinclude template="#request.headerfile#">
</CFIF>

<CFIF attributes.showbody>
        SS <cfoutput>#request.bodycontent#</cfoutput> XX
</CFIF>

<CFIF len(request.footerfile)>
                <cfinclude template="#request.footerfile#">
</CFIF>
----

However, on the site, I'm seeing the header, the plain text within the <CFIF
attributes.showbody>, and THEN the #request.bodycontent#.

IE: header=BOB,footer=BIB,request.bodycontent=ZAP
I see as written above:
BOB
SS
XX
BIB
ZAP,

When I want to see
BOB
SS
ZAP
XX
BIB


any clues as to why?

This is currently running on CFServer Personal 4.5.2, in case that could
make a difference.


thanks!


        Steve


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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