ColdFusion Tutorial
Controlling Template Locations with CFMODULE (Custom Tags)
ColdFusion provides an alternative way to use custom tags in your templates, which is helpful in a number of situations. Instead of calling your custom tags using the usual <CF_prefix, you can use the <CFMODULE> tag. You don't need to change anything in your tag template itself. Any custom tag can be used with either method.
ColdFusion will not automatically look for the tag in the special CustmTags folder because you are specifying the location explicitly. So, instead of using <CF_yourtag> in your code, you might use <CFMODULE> with template="yourtag.cfm".
Example code:
<!--- Update customer --->
<CF_ yourtag
Action="Update"
Customer_ID="4">
To call the tag with <CFMODULE>, you would use the following code:
<!--- Update customer --->
<CFMODULE
NAME="yourtag"
Action="Update"
Customer_ID="4">
ColdFusion Tutorial test
Controlling Template Locations with CFMODULE (Custom Tags)
No test is available or implemented for this ColdFusion Tutorial.
No User Comments.
No User Comments, be the first one to write your comments?
