Tags · Functions · Objects
Lucee Tag Reference
Choose a tag:

Tag <CFPROCESSINGDIRECTIVE>

Suppresses extra white space and other output, produced by CFML within the tag's scope.

Body

This tag may have a body.

Example

	<cfprocessingdirective
		[executionlog="boolean"]
		[pageencoding="string"]
		[preservecase="boolean"]
		[suppresswhitespace="boolean"]>

	[</cfprocessingdirective>]
	
This tag is also supported within cfscript
	<cfscript>
		processingdirective
		[executionlog="boolean"]
		[pageencoding="string"]
		[preservecase="boolean"]
		[suppresswhitespace="boolean"] {

	}
	</cfscript>

Attributes

The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
Name Type Required Description
executionlog boolean No Boolean indicating whether to write execution log or not. 
pageencoding string No A string literal; the character encoding to use to read the page. The value may be enclosed in single or double quotation marks, or none. 
preservecase boolean 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 boolean No Boolean indicating whether to suppress the white space and other output generated by the
    CFML tags within the cfprocessingdirective block.