Name
CFMODULE
Synopsis
<CFMODULE>
Provides an alternative method for calling CFML custom tags.
Attributes
-
TEMPLATE="
template_path
"
The path to the ColdFusion template to use as a custom tag. Relative paths are automatically expanded from the current page, while absolute paths are expanded using the mappings defined in the ColdFusion Administrator. Optional. If a value is specified for
TEMPLATE
, theNAME
attribute isn’t used.-
NAME="
name
"
The name of the custom tag you want to use. The default location for custom-tag storage is
c:\cfusion\customtags
. Custom tags residing in this location may be referenced with dotted notation. For example, a custom tag calledMyCustomTag
(MyCustomTag.cfm
) residing in the default custom tags directory is referenced asMyCustomTag
. The same tag residing under a subdirectory of thecustomtags
directory calledSpecialTags
is referenced asSpecialTags.MyCustomTag
. This dotted notation can reference custom tags residing in or any number of levels below the defaultcustomtags
directory. Optional. If a value is specified forNAME
, theTEMPLATE
attribute isn’t used.-
ATTRIBUTECOLLECTION="
attribute_structure
"
The name of a ColdFusion structure containing attribute names and their associated values. Optional.
-
ATTRIBUTE
n
="
value
"
Additional attributes and their associated values as required by the custom tag. Optional.
Get Programming ColdFusion now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.