Exciting news!
Something for us fuseboxers, replacement for <cf_bodycontent>. New in
5.0beta2:
--------------------------------------------
CFSAVECONTENT
The cfsavecontent tag saves everything in the body of the cfsavecontent
tag, including the results of evaluating expressions and executing custom
tags, in the specified variable. The cfsavecontent tag offers significant
performance improvements over custom tag solutions.
The following example uses a custom tag to generate a report and saves the
report in the variable content. It then replaces all instances of the word
report with the phrase MyCompany Quarterly Report and outputs the result.
<CFSaveContent variable="content">
<CF_OutputBigReport>
</CFSaveContent>
<cfoutput>
#Replace(content, "report", "MyCompany Quarterly Report", "all")#
</cfoutput>
--------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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