CFML Quick Reference
5
CFML tags
cfabort
<cfabort
showError = "error_message">
cfapplet
<cfapplet
appletSource = "applet_name"
name = "form_variable_name"
height = "height_in_pixels"
width = "width_in_pixels"
vSpace = "space_above_and_below_in_pixels"
hSpace = "space_on_each_side_in_pixels"
align = "alignment_option"
notSupported = "message_to_display_for_nonJava_browser"
param_1 = "applet_parameter_name"
param_2 = "applet_parameter_name"
param_n = "applet_parameter_name">
cfapplication
<cfapplication
name = "application_name"
loginStorage = "cookie" or "session"
clientManagement = "yes" or "no"
clientStorage = "datasource_name" or "Registry" or
"Cookie"
setClientCookies = "yes" or "no"
sessionManagement = "yes" or "no"
sessionTimeout = #CreateTimeSpan(days, hours, minutes,
seconds)#
applicationTimeout = #CreateTimeSpan(days, hours,
minutes, seconds)#
setDomainCookies = "yes" or "no"
scriptProtect = "none", "all", or list>
cfargument
<cfargument
name="string"
type="data type"
required="yes" or "no"
default="default value"
displayname="descriptive name"
hint="extended description">
cfassociate
<cfassociate
baseTag = "base_tag_name"
dataCollection = "collection_name">
cfbreak
<cfassociate
baseTag = "base_tag_name"
dataCollection = "collection_name">
cfcache
<cfcache
action = "action"
directory = "directory_name"
timespan = "value"
expireURL = "wildcarded_URL_reference"
username = "username"
password = "password"
port = "port_number"
protocol = "protocol">
cfcalendar
<cfcalendar
name = "name of calendar"
height = "height"
width = "width"
selectedDate = "date"
mask = "returned date format"
startRange = "first disabled date"
endRange = "last disabled date"
disabled = "true", "false", or no attribute value
mask = "character pattern"
dayNames = "days-of-the-week labels"
monthNames = "month labels"
visible = "Yes" or "No"
enabled = "Yes" or "No"
tooltip = "Tip text"
onChange = "actionscript to invoke">