Skip to Main Content
Programming ColdFusion MX, 2nd Edition
book

Programming ColdFusion MX, 2nd Edition

by Rob Brooks-Bilson
August 2003
Intermediate to advanced content levelIntermediate to advanced
1140 pages
68h 45m
English
O'Reilly Media, Inc.
Content preview from Programming ColdFusion MX, 2nd Edition

Name

cfmodule

Synopsis

<cfmodule>
  [<cfmodule />]
  ...
[</cfmodule>]

Provides an alternative method for calling CFML custom tags. Multiple cfmodule tags may be nested, provided each nested tag is closed using the syntax <cfmodule />.

Attributes

attributecollection=" attribute_structure "

The name of a ColdFusion structure containing attribute names and their associated values. Optional. If an attribute contained in the structure passed by attributecollection has the same name as an attribute passed in to the tag as a parameter, the one passed via attributecollection is used.

attribute n =" value "

Additional attributes and their associated values as required by the custom tag. Optional.

name=" name "

The name of the custom tag you want to use. The default location for custom-tag storage is \ cfroot \customtags. Custom tags residing in this location may be referenced with dotted notation. For example, a custom tag called MyCustomTag (MyCustomTag.cfm) residing in the default custom tags directory is referenced as MyCustomTag. The same tag residing under a subdirectory of the \customtags directory called \SpecialTags is referenced as SpecialTags.MyCustomTag. This dotted notation can reference custom tags residing in or any number of levels below the default customtags directory. Optional. If a value is specified for name, the template attribute isn’t used.

template=" template_path "

The path to the ColdFusion template to use as a custom tag. Relative paths are automatically expanded ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming ColdFusion

Programming ColdFusion

Rob Brooks-Bilson

Publisher Resources

ISBN: 0596003803Supplemental ContentErrata Page