<cfsetting>
Controls various aspects of page processing, such as the output of HTML code in pages.
One benefit of this option is managing whitespace that can occur in output pages served by CFML.
This tag may have a body.
This tag is also supported within <cfscript>
<cfsetting
enableCFoutputOnly=any
info=string
listen=boolean
showDebugOutput=boolean
showDebug=boolean
showDoc=boolean
showMetric=boolean
requestTimeOut=number
><!--- body --->[</cfsetting>]
| Attribute | Description |
|---|---|
enableCFoutputOnly
any, optional
|
edit
Yes, No or Reset. When set to Yes, cfsetting blocks output of HTML that resides outside cfoutput tags. When used multiple times, this setting is cumulative, so enabling it twice, requires to it to be turned off twice. Use |
info
string, optional
|
edit
name of variable created for all information for this tag. Introduced: 5.3.4.22 |
listen
boolean, optional
|
edit
do log all action, so it can report more detail with info. Introduced: 5.3.4.22 |
showDebug
boolean, optional
|
edit
Yes or No. When set to No, showDebug suppresses debugging information that would otherwise display at the end of the generated page. Introduced: 6.1.0.155 |
showDoc
boolean, optional
|
edit
Yes or No. When set to No, showDoc suppresses documentation/reference information that would otherwise display at the end of the generated page. Introduced: 6.1.0.155 |
showMetric
boolean, optional
|
edit
Yes or No. When set to No, showMetric suppresses metric information that would otherwise display at the end of the generated page. Introduced: 6.1.0.155 |
requestTimeOut
number, optional
|
edit
Number of seconds. Time limit, after which CFML processes the page as an unresponsive thread. Overrides the timeout set in the Lucee Administrator. If one specifies a |
Unimplemented Attribute(s)
| Attribute | Description |
|---|---|
showDebugOutput
boolean,
optional
|
edit
Yes or No. When set to No, showDebugOutput suppresses debugging information that would otherwise display at the end of the generated page. Default is Yes. * deprecated * |
Examples
edit<cfsetting enablecfoutputonly="true">
<cfset a = "Save">
<cfset b = "Tree">
<cfset c = a & b >
Save Water <cfoutput>#c#</cfoutput>