Name

cfsavecontent

Synopsis

<cfsavecontent>
HTML and CFML
</cfsavecontent>

Saves all generated content between tag pairs in a variable. cfsavecontent is useful in situations where you want to reuse the content generated by a specific block of code.

Attribute

variable=" variable_name "

A variable name for storing the content generated by code between the cfsavecontent tag pairs.

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.