ColdFusion Tags
Macromedia 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.
Table 21-3. Recognized ColdFusion tags
Opening tag |
Closing tag |
Description |
---|---|---|
|
N/A |
Aborts processing of CFML |
|
N/A |
Defines an application and activates its variables |
|
N/A |
Embeds Java applets in a CFFORM ... |
Get Dreamweaver in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.