O'Reilly logo

Programming ColdFusion MX, 2nd Edition by Rob Brooks-Bilson

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

Name

cftree

Synopsis

<cfform>
  <cftree> 
    [<cftreeitem>]
    ...
  </cftree>
  ...
</cfform>

Creates a Java tree control within a cfform block.

Attributes

name=" name "

The form-field name for the tree control. Required.

align=" alignment "

Alignment for the tree control. Valid entries are Left, Right, Top, TextTop, Bottom, AbsBottom, Baseline, Middle, and AbsMiddle. Optional.

appendkey="Yes|No"

Whether or not to append the cftreeitemkey variable to the end of the value of a selected cftreeitem. Optional. The default is Yes.

bold="Yes|No"

If Yes, displays text in bold. Optional. The default is No.

border="Yes|No"

Whether or not to add a border around the tree control. Optional. The default is No.

completepath="Yes|No"

Whether or not to pass the root level of the Path form variable (form .TreeName. Path) when the cfform containing the cftree is submitted. If No, the root level of the form isn’t passed. Optional. The default is No.

delimiter=" delimiter "

The delimiter to use to separate the segments of returned in the Path form variable (form .TreeName. Path ). Optional. The default is the backslash (\).

font=" font_name "

Font face to use for text appearing in the tree control. Optional.

fontsize=" integer "

Font size to use for text appearing in the tree control. Optional.

height=" height_in_pixels "

Height in pixels for the tree control’s display area. Optional.

highlighthref="Yes|No"

Whether or not to highlight links specified in the href attribute of associated cftreeitem tags. ...

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