Lucee Tag Reference

<cfassociate>

Allows subtag data to be saved with the base tag. Applies only to custom tags.

Body

This tag can't have a body.

Example

<cfassociate
basetag=string
[datacollection=string]>
This tag is also supported within cfscript
<cfscript>
associate
basetag=string
[datacollection=string];
</cfscript>

Attributes

The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
Name Type Required Description
basetag string Yes The name of the base tag. 
datacollection string No The name of the structure in which the base tag stores subtag data.