Lucee Tag Reference

<cfprocessingdirective>

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

Body

Dieses Tag darf einen Body haben, muss aber nicht.

Beispiel

<cfprocessingdirective
[executionlog=boolean]
[pageencoding=string]
[preservecase=boolean]
[suppresswhitespace=boolean]>
[</cfprocessingdirective>]
Diese tag kann auch innerhalb von cfscript verwendet werden
<cfscript>
processingdirective
[executionlog=boolean]
[pageencoding=string]
[preservecase=boolean]
[suppresswhitespace=boolean] {
[...]
}
</cfscript>

Attribute

The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
Name Typ Required Beschreibung
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.