6
CFML Quick Reference
cfhttp
<cfhttp url = "hostname"
port = "port_number"
method = "get_or_post"
username = "username"
password = "password"
name = "queryname"
columns = "query_columns"
path = "path"
file = "filename"
delimiter = "character"
textQualifier = "character"
resolveURL = "yes" or "no"
proxyServer = "hostname"
proxyPort = "port_number"
userAgent = "user_agent"
throwOnError = "yes" or "no"
redirect = "yes" or "no"
timeout = "timeout_period">
</cfhttp>
cfhttpparam
<cfhttpparam name = "name"
type = "type"
value = "transaction type"
file = "filename">
cfif
cfelseif
cfelse
<cfif expression>
HTML and CFML tags
<cfelseif>
HTML and CFML tags
<cfelse expression>
HTML and CFML tags
</cfif>
cfimpersonate
<cfimpersonate
securityContext = "SecurityContext"
username = "Name"
password = "Password"
type = "CF" or "OS">
...
HTML or CFML code to execute
...
</cfimpersonate>
cfinclude
<cfinclude template = "template_name">
cfindex
<cfindex collection = "collection_name"
action = "action"
type = "type"
title = "title"
key = "ID"
body = "body"
custom1 = "custom_value"
custom2 = "custom_value"
URLpath = "URL"
extensions = "file_extensions"
query = "query_name"
recurse = "Yes" or "No"
external = "Yes" or "No"
language = "language">
cfinput
<cfinput type = "input_type"
name = "name"
value = "initial_value"
required = "Yes" or "No"
range = "min_value, max_value"
validate = "data_type"
onValidate = "javascript_function"
pattern = "regexp"
message = "validation_msg"
onError = "text"
size = "integer"
maxLength = "integer"
checked
passThrough = "HTML_attributes">
Summary of Contents for COLDFUSION 5-CFML
Page 2: ......
Page 36: ...32 CFML Quick Reference...