cfprocessingdirective

Overview ColdFusion Open BlueDragon Lucee

Provides the following insformation to CFML on how to process the current page: * Specifies whether to remove excess whitespace character from CFML generated content in the tag body. * Identifies the character encoding (character set) of the page contents.

Attributes

Name Required Type Default Description
3
executionlog No Boolean indicating whether to write execution log or not.
pageencoding No String A string literal; cannot be a variable. Identifies the character encoding of the current CFML page. This attribute affects the entire page, not just the cfprocessing tag body. The value may be enclosed in single or double quotation marks, or none. For more information on character encodings, see: www.w3.org/International/O-charset.html.
4
preservecase No declare how variable keys defined by dot notation are handled. If set to false converts all struct keys defined with "dot notation" to upper case. Example: - sct.dotNotation --> keyname: "DOTNOTATION" - sct["bracketNotation"] --> keyname: "bracketNotation" If set to true keep all struct keys defined with "dot notation" in original case (according to the "bracket notation"). Example: sct.dotNotation --> keyname: "dotNotation" sct["bracketNotation"] --> keyname: "bracketNotation"
suppresswhitespace No Boolean Boolean; whether to suppress white space characters within the cfprocessingdirective block that are generated by CFML tags and often do not affect HTML appearance. Does not affect any white space in HTML code.