<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.
Required. A name for the CFTREE control.
Optional. Yes or No. User must select an item in the tree control. Default is No.
Optional. The character used to separate elements in the form variable PATH. The default is "\".
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.
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.
Optional. Yes highlights links associated with a CFTREEITEM with a URL attribute value. No disables highlight. Default is Yes.
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.
Optional. Message text to appear if validation fails.
Optional. The name of a valid JavaScript function you want to execute in the event of a failed validation.
Optional. Font name to use for all data in the tree control.
Optional. Font size for text in the tree control, measured in points.
Optional. Yes or No. Yes presents all tree control text in italic. Default is No.
Optional. Yes or No. Yes presents all tree control text in boldface. Default is No.
Optional. Height value of the tree control, in pixels.
Optional. Width value of the tree control, in pixels.
Optional. Vertical margin spacing above and below the tree control in pixels.
Optional. Horizontal spacing to the left and right of the tree control, in pixels.
Optional. Alignment value. Valid entries are:
Optional. Places a border around the tree. Default is Yes.
Optional. Permits horizontal scrolling. Default is Yes.
Optional. Permits vertical scrolling. Default is Yes.
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: