BackUp LevelNext

CFEXIT

CFEXIT can be used to:

Syntax

<CFEXIT METHOD="method">

METHOD

Optional. Specifies one of the following:

Usage

If a CFEXIT tag is encountered outside the context of a custom tag, for example in the base page or an included page, the tag acts exactly like CFABORT. CFEXIT can help simplify error checking and validation logic in custom tags.

CFEXIT behaves differently depending on location and execution mode:

METHOD attribute Location of CFEXIT call Behavior
ExitTag Base template Terminate processing
Execution mode = Start Continue after end tag
Execution mode = End Continue after end tag
ExitTemplate Base template Terminate processing
Execution mode = Start Continue from first child in body
Execution mode = End Continue after end tag
Loop Base template Error
Execution mode = Start Error
Execution mode = End Continue from first child in body




BackUp LevelNext

allaire

AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.