MACROMEDIA COLDFUSION MX 61-CFML Reference page 83

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

With the European Verity Locales language pack installed, the
supports the following options:
bokmal
danish
dutch
english
finnish
With the Asian Verity Locales language pack installed, the
the following options:
arabic
czech
greek
hebrew
The default location of Verity collections is as follows:
Windows: C:\CFusionMX\verity\collections
Unix system: /opt/coldfusionmx/verity/collections
Example
<!-------------------------------------------------------------------------
Check for server platform and use it's default Verity Collection directory.
You may need to change the path if you did not install ColdFusion MX in the
default directory.
---------------------------------------------------------------------------
<cfif Find("Windows", Server.OS.Name)>
<cfset collPath = "C:\CFusionMX\Verity\Collections\">
<cfelse>
<cfset collpath = "/opt/coldfusionmx/verity/collections/">
</cfif>
<!--------------------------------------------------------------------
Process form input and do the requested cfcollection operation.
--------------------------------------------------------------------->
<cfif IsDefined("form.CollectionName") AND IsDefined("form.CollectionAction")>
<cfif form.CollectionName is not "">
<cfswitch expression="#FORM.CollectionAction#">
<cfcase value="Create">
<cfcollection action="CREATE" collection="#FORM.CollectionName#"
path="#collPath#">
<h3>Collection created.<br>
Use CFINDEX to populate it.</h3>
<!--- <cfindex action="update" collection="#FORM.CollectionName#" type="path"
key="c:\CFusionMX\wwwroot\tests" extensions="cfm">
--->
</cfcase>
<cfcase value="Repair">
<cfcollection action="REPAIR" collection="#FORM.CollectionName#">
<h3>Collection repaired.</h3>
french
german
italian
nynorsk
norwegian
hungarian
japanese
korean
polish
attribute of this tag
language
norweg
portug
portuguese
spanish
swedish
attribute of this tag supports
language
russian
simplified_chinese
traditional_chinese
turkish
cfcollection
83

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents