436
Chapter 2: ColdFusion Tags
cftreeitem
Description
Populates a form tree control, created with the
cftree
tag, with one or more elements.
Category
Forms tags
Syntax
<cftreeitem
value = "text"
display = "text"
parent = "parent_name"
img = "filename"
imgopen = "filename"
href = "URL"
target = "URL_target"
query = "queryname"
queryAsRoot = "yes" or "no"
expand = "yes" or "no">
See also
cfapplet
,
cfform
,
cfformgroup
,
cfformitem
,
cfgrid
,
cfinput
,
cfselect
,
cfslider
,
cftextarea
,
cftree
; “Building tree controls with the cftree tag” in Chapter 27, “Building
Dynamic Forms with cfform Tags,” in
ColdFusion MX Developer’s Guide
Attributes
Note:
In XML format, ColdFusion MX passes all attributes to the XML. The supplied XSLT skins do
not handle or display XML format trees, but do display applet and Flash format trees.
Attribute
Req/Opt;
Format
Default Description
value
Required;
All
Value
passed
when
cfform
is submitted. When populating a
tree with data from a
cfquery
, you can specify multiple columns
to use in a delimited list; for example,
value
=
"dept_id,emp_id"
. In this case, each column generates an item
that is a child of the column that precedes it in the list.
display
Optional;
All
value
Tree item label. When populating a tree with data from a query,
specify names in a delimited list. Example:
display
=
"dept_name,emp_name"
parent
Optional;
All
Value of the tree item parent. Determines the item’s placement
in the tree hierarchy. If omitted, the item is placed at the tree
root level, or if the
queryAsRoot
attribute is True, directly under
the query.
Summary of Contents for COLFUSION MX 7 - INSTALLING AND USING COLDFUSION MX
Page 1: ...COLDFUSION MX7 CFML Reference...
Page 20: ...20 Chapter 1 Reserved Words and Variables...
Page 50: ...50 Chapter 2 ColdFusion Tags cfelse br Searching cfif cfloop cfif...
Page 101: ...cfdefaultcase 101 cfdefaultcase cfswitch cfoutput Your grade is grade cfoutput...
Page 115: ...cfdocumentsection 115 cfdocumentsection cfoutput cfdocument...
Page 411: ...cftable 411 cftable body html...
Page 515: ...Chr 515 maxlength 5 p input type Submit name input type RESET cfform...
Page 605: ...GetEncoding 605 WriteOutput The encoding is theEncoding cfscript cfif...
Page 629: ...GetProfileString 629 tr td input type Submit name Submit value Submit td td td tr table form...
Page 655: ...IIf 655 cfoutput IIf Hour Now GTE 12 DE It is afternoon or evening DE It is morning cfoutput b...
Page 664: ...664 Chapter 3 ColdFusion Functions cfelse h3 Conversion error h3 cfif...
Page 687: ...IsStruct 687 cfoutput cfquery cfif cfoutput hr Employee Add Complete cfoutput cfcase cfswitch...
Page 751: ...LSDateFormat 751 hr noshade cfoutput cfloop...
Page 861: ...StructFind 861 cfquery cfif cfoutput hr Employee Add Complete cfoutput cfcase cfswitch...
Page 903: ...Val 903 value Is the beginning numeric name form...
Page 932: ...932 Chapter 3 ColdFusion Functions...
Page 944: ...944 Chapter 4 ColdFusion MX Flash Form Style Reference...
Page 962: ...962 Chapter 5 Application CFC Reference...
Page 1054: ...1054 Chapter 6 ColdFusion MX Event Gateway Reference...