Writes an output to a page. WriteBody should be used within a tag with a body only.

writeBody(value); → returns boolean

This function requires Adobe ColdFusion.  Not supported on Lucee, etc.

Argument Reference

value string

A string or any variable that can evaluate to a string.

Sample code invoking the writeBody function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub