I think you may have to wrap your template in a custom tag.
Something like:
---- PageContent.cfm -----------------------------
<cfif not thistag.hasendtag>
<cfset thistag.generatedcontent = "">
The custom tag <CF_PageContent> does not have an end tag.
<cfabort>
</cfif>
<cfif thistag.executionmode is "end">
<cfset request.pagecontent = thistag.generatedcontent>
<cfset thistag.generatedcontent = "">
</cfif>
---- YourActionPage.cfm -----------------------------
<!--- Call your custom tag (pagecontent.cfm) --->
<cf_PageContent>
Put all of your cfml and html code here.
</cf_PageContent>
<!--- User this to output in HTML FORMAT --->
<cfoutput>
#HTMLEditFormat(request.pagecontent)#
</cfoutput>
<!--- Use this to output regularly --->
<cfoutput>
#request.pagecontent#
</cfoutput>
------------------------------------------------------
Hope this helps,
Brad
-----Original Message-----
From: ibtoad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 6:38 PM
To: CF-Talk
Subject: RE: HTML???
How do I use this? What is the (page) variable?
Thanks,
Rich
-----Original Message-----
From: Larry Juncker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 6:00 PM
To: CF-Talk
Subject: RE: HTML???
>From pg 901 CF 4.0 WACK
#HTMLEditFormat(Text)#
The following example displays the HTML code that is used to render a
dynamic Web page inside a bordered box.
<TABLE BORDER>
<TR>
<TD>#HTMLEditFormat(Page)#</td>
</TR>
</table>
Larry Juncker
Senior Cold Fusion Programmer
Heartland Communications Group, Inc.
-----Original Message-----
From: ibtoad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 4:24 PM
To: CF-Talk
Subject: HTML???
How can I display the HTML that is generated by a CF template without having
to click on source from the IE bar? Can i display it raw html on the web
page itself?
Rich
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]