CFINCLUDE  
 
 

CFINCLUDE lets you embed references to ColdFusion pages in your CFML. If necessary, you can embed CFINCLUDE tags recursively.

For an additional method of encapsulating CFML, see the CFMODULE tag, used to create custom tags in CFML.

 
 
  Syntax  
 
<CFINCLUDE TEMPLATE="template_name">

TEMPLATE

A logical path to an existing page.

 
 
  Usage  
 

When ColdFusion searches for included files as follows:

  • Checks the directory in which the current page lives.
  • Searches directories explicitly mapped in the ColdFusion Administrator for the included file.




 
 
BackUp LevelNext
 
 

allaire     AllaireDoc@allaire.com
    Copyright © 1998, Allaire Corporation. All rights reserved.