User Guide
cftreeitem 437
img Optional;
Applet,
object
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 also specify a custom image. To do so, include path
and file extension; for example:
img = "../images/page1.gif"
Custom images are not supported for Flash format.
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)
imgopen Optional;
Applet,
object
Icon displayed with open tree item, as describe for the
img
attribute.
href Optional;
All
URL to link to if the user clicks the tree item. If you use a
query
attribute, the
href attribute can specify a query column that
contains URLs. If
href is not a query column, the attribute text
must be a URL or list of URLs.
When populating a tree with data from a query, specify the
URLs in a comma-delimited list; for example:
href = "http://dept_svr,http://emp_svr"
target Optional;
All
Target attribute of href URL. When populating a tree with data
from a query, specify target in delimited list:
target = "FRAME_BODY,_blank"
query Optional;
Applet,
Flash
Query name to use to populate the treeitem. ColdFusion
generates an item for each field value in the query column list
specified by the
value attribute. The fields in each row are
hierarchically linked to the first column.
Attribute Req/Opt;
Format
Default Description