User Guide

Chapter 10
Reusing Code
This chapter describes how to reuse common code with cfinclude, and create
custom CFML tags that encapsulate common code.
Contents
Ways to Reuse Code ................................................................................................172
Reusing Common Code with cfinclude.................................................................172
Using Custom Tags..................................................................................................173
Nesting Custom Tags...............................................................................................180
Passing Data Between Nested Custom Tags..........................................................181
Executing Custom Tags...........................................................................................185
Installing Custom Tags............................................................................................187
Managing Custom Tags...........................................................................................188