O'Reilly logo

Sams Teach Yourself ColdFusion® in 21 Days by Charles Mohnike

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CFTREEITEM

Use CFTREEITEM to populate a tree control created with CFTREE with individual elements. You can use the IMG values supplied with ColdFusion or reference your own icons.

Note

CFTREEITEM incorporates a Java applet, so a browser must be Java-enabled for CFTREE to work properly.

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">
VALUE

Required. Value passed when the CFFORM is submitted. When populating a CFTREE with data from a CFQUERY, columns are specified in a comma-separated list:

VALUE="dept_id,emp_id"
DISPLAY

Optional. The label for the tree item. Default is VALUE. When populating ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required