Saves the generated content of the cfsavecontent tag, including the results of evaluating expressions and executing custom tags, in the specified variable.
<cfsavecontent variable="">
savecontent variable="" {};
savecontent variable="myContent" {
writeOutput("Somecontent.");
}
<cfsavecontent variable="myContent">
<cfoutput>Some content.</cfoutput>
</cfsavecontent>
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.