Macromedia coldfusion 4.5-cfml language reference User Manual

Page of 608
142
CFML Language Reference 
attributeCollection=##attrCollection1##
Y=4>")#
</CFOUTPUT>
<P>The result: <CFOUTPUT>#result#</CFOUTPUT> </P>
<!--- Call the tag with CFMODULE with Name--->
<CFMODULE 
    NAME="myTag"
X="3"
attributeCollection=#attrCollection1# 
Y="4">
<!--- show the code --->
<P>Here is another way to invoke the custom tag, 
using the NAME attribute.</P>
<CFOUTPUT>#HTMLCodeFormat("<CFMODULE
NAME=’myTag’
X=3
attributeCollection=##attrCollection1##
Y=4>")#
</CFOUTPUT>
<P>The result: <CFOUTPUT>#result#</CFOUTPUT>
<!--- Call the tag using the short cut notation --->
<CF_myTag 
X="3" 
attributeCollection=#attrCollection1# 
Y="4">
<!--- show the code --->
<P>Here is the short cut to invoking the same tag.</P>
<CFOUTPUT>#HTMLCodeFormat("<CF_myTag 
X=3 
attributeCollection=##attrCollection1## 
Y=4>")#
</CFOUTPUT>
<P>The result: <CFOUTPUT>#result#</CFOUTPUT></P>
</BODY>
</HTML>