Name
CFSETTING
Synopsis
<CFSETTING ENABLECFOUTPUTONLY="Yes"
SHOWDEBUGOUTPUT="Yes|No">
CATCHEXCEPTIONSBYPATTERN="Yes|No">
CFML
<CFSETTING ENABLECFOUTPUTONLY="No"
SHOWDEBUGOUTPUT="Yes|No">
CATCHEXCEPTIONSBYPATTERN="Yes|No">Controls whitespace, debugging output, and exception handling within ColdFusion templates.
When the ENABLECFOUTPUTONLY attribute is used,
CFSETTING tags must occur in matched pairs where
both a <CFSETTING ENABLECFOUTPUTONLY="Yes">
and a <CFSETTING
ENABLECFOUTPUTONLY="No"> are present.
CFSETTING tags may be nested any number of levels
as long as there are always matching tag pairs. You don’t need
to use paired CFSETTING tags with either the
SHOWDEBUGOUTPUT or
CATCHEXCEPTIONBYPATTERN attribute unless it is
used in combination with an ENABLECFOUTPUTONLY
attribute.
Attributes
-
ENABLECFOUTPUTONLY="Yes|No" Specifying
Yesresults in the suppression of all HTML output (including whitespace) betweenCFSETTINGtags. Optional. The default isNo.-
SHOWDEBUGOUTPUT="Yes|No" Whether or not to suppress debugging information normally output to ColdFusion templates when debugging is turned on in the ColdFusion Administrator. Optional. The default is
Yes.-
CATCHEXCEPTIONSBYPATTERN=="Yes|No" Whether or not to override structured exception handling. This attribute was introduced in ColdFusion 4.5 to handle incompatibility issues arising from changes to ColdFusion’s structured exception handling in Version 4.5. In Version 4.0.x of ColdFusion, exceptions caught with
CFTRY/CATCHwere ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access