MACROMEDIA COLDFUSION MX 61-CFML Reference page 84

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

Advertisement

</cfcase>
<cfcase value="Optimize">
<cfcollection action="OPTIMIZE" collection="#FORM.CollectionName#">
<h3>Collection optimized.</h3>
</cfcase>
<cfcase value="Delete">
<cfcollection action="DELETE" collection="#FORM.CollectionName#">
<h3>Collection deleted.</h3>
</cfcase>
</cfswitch>
<cfelse>
<h3>Please enter a name for your collection</h3>
</cfif>
</cfif>
<!--------------------------------------------------------------------
Form to specify the collection name and action
--------------------------------------------------------------------->
<form action="#CGI.SCRIPT_NAME" method="POST" >
<select name="CollectionAction">
<option value="Create">Create this collection
<option value="Optimize">Optimize this collection
<option value="Repair">Repair this collection
<option value="Delete">Delete this collection
</select>
<p><strong>Collection on which to act</strong><br>
Use the default value or enter your own Collection name<br>
<input type="Text" name="CollectionName" value="snippets"></p>
<input type="Submit" name="" value="alter or create my collection">
</form>
84
Chapter 2: ColdFusion Tags

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents