Name
CFTREEITEM
Synopsis
<CFTREE> [<CFTREEITEM>] ... </CFTREE>
Used in conjunction with CFTREE to populate a Java
tree control.
Attributes
-
VALUE="text" The value to pass when submitting the
CFFORM. If populating the tree from a query, multiple column names should be specified in a comma-delimited list. Required.-
DISPLAY="text" The label to use for the tree item. Label names are specified in a comma-delimited list when populating a tree from a query. Optional. The default is
VALUE.-
PARENT="parent_name" The
VALUEof the tree item’s parent. Optional.-
IMG="filename" The image to use with the tree item. You may specify a path to your own image or use one of the images supplied with ColdFusion by referencing the image name. Multiple images may be assigned to recursive levels of the tree by entering them in a comma-separated list. Valid options for
IMGareCD,Computer,Document,Element,Folder,Floppy,Fixed, andRemote. Optional. The default image isFolder. If you choose to use your own image, you should try to limit the size to 20 pixels by 20 pixels.-
IMGOPEN="filename" Image to display when a tree branch is opened. You may use the same images as the
IMGtag or supply your own. Optional.-
HREF="URL" A URL to associate with the tree item or the name of a query column (from a query used to populate the tree) containing
HREFvalues. If the tree is being populated from a query,HREFURLs can be specified in a comma-delimited list. The URLs may be relative or absolute. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access