Cftreeitem - MACROMEDIA COLDFUSION MX 61-CFML Reference

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

cftreeitem

Description
Populates a form tree control, created with the
can use the
img
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, cfgrid, cfgridcolumn, cfgridrow, cfgridupdate, cfinput,
cfselect, cfslider, cftextinput,
Attributes
Attribute
Req/Opt Default Description
value
Required
display
Optional
parent
Optional
img
Optional
values that ColdFusion provides, or reference your own icons.
Value passed when
tree with data from a
list. Example:
value
Tree item label. When populating a tree with data from a query,
specify names in a delimited list. Example:
"dept_name,emp_name"
Value for tree item parent.
folder
Image name, filename, or file URL for tree item icon.
The following values are provided:
• cd
• computer
• document
• element
• folder
• floppy
• fixed
• remote
You can specify a custom image. To do so, include path and
file extension; for example:
img = "../images/page1.gif"
To specify more than one image in a tree, or an image at the
second or subsequent level, use commas to separate names,
corresponding to level; for example:
img = "folder,document"
img = ",document" (example of second level)
tag, with elements. To display icons, you
cftree
cftree
is submitted. When populating a
cfform
cfquery
value = "dept_id,emp_id"
, specify columns in a delimited
display =
cftreeitem
349

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents