Structuring Tree Controls
</cftree>
</cfform>
Image names in a cftree
When you use the
tree items. You can specify a built-in ColdFusion image name or the URL of an image
of your choice, such as http://localhost/Myapp/Images/Level3.gif. As a general rule,
your custom images should be less than 20 pixels high.
The built-in image names are:
Note
You can also control the tree appearance by using the
specify a Windows, Motif, or Metal look.
parent="Divisions" img="folder">
<cftreeitem value="Product One"
parent="QA">
<cftreeitem value="Product Two" parent="QA">
<cftreeitem value="Product Three"
parent="QA">
<cftreeitem value="Support"
parent="Divisions" img="fixed">
<cftreeitem value="Product Two"
parent="Support">
<cftreeitem value="Sales"
parent="Divisions" img="cd">
<cftreeitem value="Marketing"
parent="Divisions" img="document">
<cftreeitem value="Finance"
parent="Divisions" img="element">
attribute, ColdFusion displays the specified image beside the
img
cd
computer
document
element
folder
floppy
fixed
remote
attribute to
lookAndFeel
151