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

Summary

Custom Tags can be simple tags, as reviewed in the previous chapter, or as complex and sophisticated as needed. Custom Tags may be made up of tag pairs or entire tag families (using nested parent and child tags). The key to working with tag pairs and tag families is to understand the lifetime of a tag and its use of the ThisTag scope. A set of CFML tags and functions are used specifically for creating and working with advanced Custom Tags.

Sample Questions

1:Which variable of the ThisTag scope declares whether the tag is in start or end mode?
  1. ThisTag.GeneratedContent

  2. ThisTag.StartOrEnd

  3. ThisTag.HasEndTag

  4. ThisTag.ExecutionMode

2:In which ExecutionMode should most Custom Tag processing typically occur?
  1. start

  2. end

  3. inactive

3:The <cfassociate> tag is used with nested Custom Tags to do what?
  1. Pass generated content to the Custom Tag's end mode

  2. Pass data from the start mode to the end mode

  3. Pass a child tag's data back to the parent tag

  4. Pass a parent tag's data to the child tag


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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