<CFTREE NAME="name"
    REQUIRED="Yes/No"
    DELIMITER="delimiter"
    COMPLETEPATH="Yes/No"
    APPENDKEY="Yes/No"
    HIGHLIGHTHREF="Yes/No"
    ONVALIDATE="script_name"
    MESSAGE="text"
    ONERROR="text"
    FONT="font"
    FONTSIZE="size"
    ITALIC="Yes/No"
    BOLD="Yes/No"
    HEIGHT="integer"
    WIDTH="integer"
    VSPACE="integer"
    HSPACE="integer"
    ALIGN="alignment"
    BORDER="Yes/No"
    HSCROLL="Yes/No"
    VSCROLL="Yes/No"
    NOTSUPPORTED="text">
 
</CFTREE>


CFTREE incorporates a Java applet, so a browser must be Java-enabled for CFTREE to work properly.

NAME

Required. A name for the CFTREE control.

REQUIRED

Optional. Yes or No. User must select an item in the tree control. Default is No.

DELIMITER

Optional. The character used to separate elements in the form variable PATH. The default is "\".

COMPLETEPATH

Optional. Yes passes the root level of the treename.path form variable when the CFTREE is submitted. If omitted or No, the root level of this form variable is not included.

APPENDKEY

Optional. Yes or No. When used with HREF, Yes passes the CFTREEITEMKEY variable along with the value of the selected tree item in the URL to the application page specified in the CFFORM ACTION attribute. The default is Yes.

HIGHLIGHTHREF

Optional. Yes highlights links associated with a CFTREEITEM with a URL attribute value. No disables highlight. Default is Yes.

ONVALIDATE

Optional. The name of a valid JavaScript function used to validate user input. The form object, input object, and input object value are passed to the specified routine, which should return true if validation succeeds and false otherwise.

MESSAGE

Optional. Message text to appear if validation fails.

ONERROR

Optional. The name of a valid JavaScript function you want to execute in the event of a failed validation.

FONT

Optional. Font name to use for all data in the tree control.

FONTSIZE

Optional. Font size for text in the tree control, measured in points.

ITALIC

Optional. Yes or No. Yes presents all tree control text in italic. Default is No.

BOLD

Optional. Yes or No. Yes presents all tree control text in boldface. Default is No.

HEIGHT

Optional. Height value of the tree control, in pixels.

WIDTH

Optional. Width value of the tree control, in pixels.

VSPACE

Optional. Vertical margin spacing above and below the tree control in pixels.

HSPACE

Optional. Horizontal spacing to the left and right of the tree control, in pixels.

ALIGN

Optional. Alignment value. Valid entries are:

BORDER

Optional. Places a border around the tree. Default is Yes.

HSCROLL

Optional. Permits horizontal scrolling. Default is Yes.

VSCROLL

Optional. Permits vertical scrolling. Default is Yes.

NOTSUPPORTED

Optional. The text you want to display if the page containing a Java applet-based CFFORM control is opened by a browser that does not support Java or has Java support disabled. For example:

By default, if no message is specified, the following message appears: