Macromedia coldfusion 4.5-cfml language reference User Manual
142
CFML Language Reference
attributeCollection=##attrCollection1##
Y=4>")#
Y=4>")#
</CFOUTPUT>
<P>The result: <CFOUTPUT>#result#</CFOUTPUT> </P>
<P>The result: <CFOUTPUT>#result#</CFOUTPUT> </P>
<!--- Call the tag with CFMODULE with Name--->
<CFMODULE
NAME="myTag"
<CFMODULE
NAME="myTag"
X="3"
attributeCollection=#attrCollection1#
Y="4">
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
<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>")#
X=3
attributeCollection=##attrCollection1##
Y=4>")#
</CFOUTPUT>
<P>The result: <CFOUTPUT>#result#</CFOUTPUT>
<P>The result: <CFOUTPUT>#result#</CFOUTPUT>
<!--- Call the tag using the short cut notation --->
<CF_myTag
<CF_myTag
X="3"
attributeCollection=#attrCollection1#
Y="4">
attributeCollection=#attrCollection1#
Y="4">
<!--- show the code --->
<P>Here is the short cut to invoking the same tag.</P>
<CFOUTPUT>#HTMLCodeFormat("<CF_myTag
<P>Here is the short cut to invoking the same tag.</P>
<CFOUTPUT>#HTMLCodeFormat("<CF_myTag
X=3
attributeCollection=##attrCollection1##
Y=4>")#
attributeCollection=##attrCollection1##
Y=4>")#
</CFOUTPUT>
<P>The result: <CFOUTPUT>#result#</CFOUTPUT></P>
<P>The result: <CFOUTPUT>#result#</CFOUTPUT></P>
</BODY>
</HTML>
</HTML>