User Guide

cftree 345
cftree
Description
Inserts a tree control in a form. Validates user selections. Used within a cftree tag block. You can
use a ColdFusion query to supply data to the tree.
Category
Forms tags
Syntax
<cftree name = "name"
required = "Yes" or "No"
delimiter = "delimiter"
completePath = "Yes" or "No"
appendKey = "Yes" or "No"
highlightHref = "Yes" or "No"
onValidate = "script_name"
message = "text"
onError = "text"
lookAndFeel = "motif" or "windows" or "metal"
font = "font"
fontSize = "size"
italic = "Yes" or "No"
bold = "Yes" or "No"
height = "integer"
width = "integer"
vSpace = "integer"
hSpace = "integer"
align = "alignment"
border = "Yes" or "No"
hScroll = "Yes" or "No"
vScroll = "Yes" or "No"
notSupported = "text">
</cftree>
See also
cfapplet, cfform, cfgrid, cfgridcolumn, cfgridrow, cfgridupdate, cfinput,
cfselect, cfslider, cftextinput, cftree, cftreeitem
History
ColdFusion MX: Changed behavior: ColdFusion renders a tree control regardless of whether
there are any
treeitems within it.
Attributes
Attribute Req/Opt Default Description
name Required Name for tree control.
required Optional No Yes: user must select an item in tree control
No
delimiter Optional \\ Character to separate elements in form variable path.