21.5 ColdFusion TagsMacromedia ColdFusion (formerly Allaire ColdFusion) also processes server-side scripts and delivers HTML pages to the user's browser dynamically. For an overview of ColdFusion, see http://www.macromedia.com/software/coldfusion/. For more on ColdFusion, see Programming ColdFusion by Rob Brooks-Bilson (O'Reilly). ColdFusion Markup Language (CFML) uses HTML-style tags, as defined in the ColdFusion.xml file. For example, the following <tagspec> element tells Dreamweaver how to display a CFML tag named CFABORT: <tagspec tag_name="CFABORT" tag_type="empty" render_contents="false" content_model="script_model" detect_in_attribute="true" icon="ColdFusion.gif" icon_width="16" icon_height="16"> </tagspec> ColdFusion files have a .cfm or .cfml extension and can contain both CFML elements and HTML elements. CFML tag names begin with CF. For example, CFML offers a <CFFORM> element analogous to the HTML <form> element.Table 21-3 lists the CFML tags recognized in Dreamweaver by default. Many ColdFusion tags are not listed, but you can add them to the ColdFusion.xml file, as described earlier. With Macromedia's recent acquisition of ColdFusion, expect to see greater support for CFML tags in future versions of Dreamweaver and UltraDev.
The next chapter shows how to extend Dreamweaver by using Extensions available through the Dreamweaver Exchange. |