Macromedia coldfusion 4.5-cfml language reference User Manual
26
CFML Language Reference
LANGUAGE
Optional for CREATE. To use the LANGUAGE attribute you must have the
ColdFusion International Search Pack installed. Valid entries are:
ColdFusion International Search Pack installed. Valid entries are:
•
English (default)
•
German
•
Finnish
•
French
•
Danish
•
Dutch
•
Italian
•
Norwegian
•
Portuguese
•
Spanish
•
Swedish
Usage
CFCOLLECTION works at the collection level only. To add content to a collection, use
CFINDEX
.
Note the following regarding mapped collections:
•
Mapping allows you to assign an alias to a Verity collection created by a tool
other than ColdFusion.
other than ColdFusion.
•
The ACTION, COLLECTION, and PATH attributes are required.
•
The path must point to a valid Verity collection; mapping does not validate the
path.
path.
•
Deleting a mapped collection unregisters the alias; the base collection is not
deleted.
deleted.
Example
<!--- This example shows the basic functionality
of the CFCOLLECTION tag (create, repair, optimize, delete) --->
<HTML>
<HEAD>
of the CFCOLLECTION tag (create, repair, optimize, delete) --->
<HTML>
<HEAD>
<TITLE>CFCOLLECTION</TITLE>
</HEAD>
<BODY bgcolor=silver>
<H3>CFCOLLECTION</h3>
<BODY bgcolor=silver>
<H3>CFCOLLECTION</h3>
<!--- see if a collection name has been specificied ... --->
<CFIF IsDefined("form.CollectionName") AND
IsDefined("form.CollectionAction")>
<CFIF IsDefined("form.CollectionName") AND
IsDefined("form.CollectionAction")>
<CFIF form.CollectionName is not "">
<CFOUTPUT>
<CFSWITCH EXPRESSION=#FORM.CollectionAction#>
<CFCASE VALUE="Create">
<CFCOLLECTION ACTION="CREATE"
<CFSWITCH EXPRESSION=#FORM.CollectionAction#>
<CFCASE VALUE="Create">
<CFCOLLECTION ACTION="CREATE"