• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

<cfassociate>

We have just discussed how to pass variables from the parent tag to the child tag. Now we have to reverse our track and discuss a way to pass child data back to parent data.

We will accomplish this task by using a ColdFusion tag called <cfassociate>. This tag grabs all attributes passed to a child tag and organizes them as structures. In our previous example, one of the declared child tags was as follows:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint