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
Path
form variable (Form.TreeName.Path
). Optional. The default is the backslash (\
).-
COMPLETEPATH="Yes|No"
Whether or not to pass the root level of the
Path
form variable (Form.
TreeName
.Path
) when theCFFORM
containing theCFTREE
is submitted. IfNo
, the root level of the form isn’t passed. Optional. The default isNo
.-
APPENDKEY="Yes|No"
Whether or not to append the
CFTREEITEMKEY
variable 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
HREF
attribute of associatedCFTREEITEM
tags. 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. ...
Get Programming ColdFusion now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.