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

Chapter 18. Creating Advanced Custom Tags > Creating an Advanced Custom Tag

Creating an Advanced Custom Tag

You're going to have to hold on tight for this ride because it's complicated at times, but it's worth the trip. Make notes in the margins of the book, build and run the code yourself as you read along, make a strong pot of coffee—whatever it takes to stay on point. When you're done, follow my instructions at the end of this chapter to expand on what you've learned, and you'll be well on your way to building complete libraries of custom tags that can be reused between applications with little or no modification.

We're going to build another pair of nested custom tags that create a form. This form is going to actually manipulate data in a database and will adapt to being an Add form, an Edit form, a View form, or a Delete form. You'll leverage the bidirectional communication mechanism you just examined; you'll incorporate the flow control techniques you learned about in “Using CFEXIT to Control Custom Tag Processing Flow”; and you'll incorporate your own custom formStatus property into the custom tags so you can precisely control how and when the form is prepared and built.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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