• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

21. Creating Custom Tags > 21.6. Advanced Techniques

Advanced Techniques

There are several advanced features of the custom tag framework you can use to greatly expand the power of custom tags. You can:

  • Use two new methods to call custom tags

  • Pass multiple attributes to a custom tag via a single attribute

  • Create tag pairs

  • Create a framework for creating nested tags

  • Devise a method to halt the processing of custom tags without halting the processing of the calling template

This section covers each advanced technique and gives examples of how you can use them to extend the power of your ColdFusion applications.

Calling Custom Tags Via cfmodule

As I mentioned earlier in the chapter, the cfmodule tag provides another way to invoke custom tags. Using cfmodule to call your custom tags allows you to call tags located in directories other than the


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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