CFMODULE

Use CFMODULE to invoke a custom tag for use in your ColdFusion application pages. CFMODULE can help deal with any custom tag name conflicts that might arise.

Use the TEMPLATE attribute to name a ColdFusion page containing the custom tag definition, including its path. Use the NAME attribute to refer to the custom tag using a dot notation scheme indicating the location of the custom tag in the ColdFusion installation directory.

Syntax

<CFMODULE TEMPLATE="template"
    NAME="tag_name"
    ATTRIBUTECOLLECTION="collection_structure"
    ATTRIBUTE_NAME1="value"
    ATTRIBUTE_NAME2="value"
    …>
TEMPLATE

Used in place of NAME, defines a path to the application page (.cfm file) implementing the tag. Relative paths are expanded from the current page. Physical ...

Get Sams Teach Yourself ColdFusion® in 21 Days 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.