MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE Reference page 50

Cfml language reference
Table of Contents

Advertisement

26
LANGUAGE
Optional for CREATE. To use the LANGUAGE attribute you must have the
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.
The ACTION, COLLECTION, and PATH attributes are required.
The path must point to a valid Verity collection; mapping does not validate the
path.
Deleting a mapped collection unregisters the alias; the base collection is not
deleted.
Example
<!--- This example shows the basic functionality
of the CFCOLLECTION tag (create, repair, optimize, delete) --->
<HTML>
<HEAD>
<TITLE>CFCOLLECTION</TITLE>
</HEAD>
<BODY bgcolor=silver>
<H3>CFCOLLECTION</h3>
<!--- see if a collection name has been specificied ... --->
<CFIF IsDefined("form.CollectionName") AND
IsDefined("form.CollectionAction")>
<CFIF form.CollectionName is not "">
<CFOUTPUT>
<CFSWITCH EXPRESSION=#FORM.CollectionAction#>
<CFCASE VALUE="Create">
<CFCOLLECTION ACTION="CREATE"
CFML Language Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 4.5

Table of Contents