Name
CFTREE — Enhanced in ColdFusion 5.0
Synopsis
<CFFORM>
<CFTREE>
[<CFTREEITEM>]
...
</CFTREE>
...
</CFFORM>
Creates a
Java tree control within a CFFORM block.
Attributes
-
NAME="name" The form-field name for the tree control. Required.
-
LOOKANDFEEL="Windows|Motif|Metal" Specifies a theme governing the look and feel of the tree control. Optional. If no value is specified, ColdFusion first tries
Windows, then uses the platform default. New as of ColdFusion 5.0.-
REQUIRED="Yes|No" Whether or not the tree control requires a value before being submitted. Optional. The default is
No.-
DELIMITER="delimiter" The delimiter to use to separate the segments of returned in the
Pathform variable (Form.TreeName.Path). Optional. The default is the backslash (\).-
COMPLETEPATH="Yes|No" Whether or not to pass the root level of the
Pathform variable (Form.TreeName.Path) when theCFFORMcontaining theCFTREEis submitted. IfNo, the root level of the form isn’t passed. Optional. The default isNo.-
APPENDKEY="Yes|No" Whether or not to append the
CFTREEITEMKEYvariable to the end of the value of a selectedCFTREEITEM. Optional. The default isYes.-
HIGHLIGHTHREF="Yes|No" Whether or not to highlight links specified in the
HREFattribute of associatedCFTREEITEMtags. Optional. The default isYes.-
ONVALIDATE="javascript_function" A JavaScript validation function that should be executed before the form is submitted. Optional.
-
MESSAGE="text" Text to appear if validation fails. Optional. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access