Name

cfassociate

Synopsis

<cfassociate>

Associate a subtag with a base tag (child tag with a parent tag) by saving all the subtag’s attributes to a special structure that is available to the base tag. This tag is for use only within custom tags.

Attributes

basetag=" tag_name "

The name of the base tag. Required.

datacollection=" collection_name "

The name of the structure that contains subtag data. Optional. By default, ColdFusion saves all subtag attributes in a structure called AssocAttribs.

Get Programming ColdFusion MX, 2nd Edition 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.