228
CFML Language Reference
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/No"
EXPAND="Yes/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 a
CFTREE with data from a CFQUERY, display names are specified in a comma-
separated list:
DISPLAY="dept_name,emp_name"
PARENT
Optional. Value for tree item parent.
IMG
Optional. Image name or filename for the tree item. When populating a CFTREE
with data from a CFQUERY, images or filenames for each level of the tree are
specified in a comma-separated list.
The default image name is "Folder. " A number of images are supplied and can be
specified using only the image name (no file extension):
•
cd
•
computer
•
document
•
element
Содержание COLDFUSION 4.5-CFML LANGUAGE
Страница 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Страница 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Страница 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Страница 296: ...272 CFMLLanguageReference INPUT TYPE text NAME number2 BR INPUT TYPE submit NAME submit VALUE Add FORM BODY HTML...
Страница 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Страница 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Страница 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Страница 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Страница 557: ...Chapter 2 ColdFusion Functions 533 P CFOUTPUT Value i is employee keysToStruct i CFOUTPUT P CFLOOP CFIF BODY HTML...
Страница 584: ...560 CFMLLanguageReference...
Страница 594: ...570 CFMLLanguageReference...