I am sitting here asking myself . . . .why? Lets see you are adding a tag
(more processing). The tag has an opening and a closing (the cfif already
has an opening and a closing). And you do not have the ability to nest
stuff. So what is your point?
I came up with a new tag called <cf_kiss>.
I place it around large blocks of code and it automatically simplifies it
for me.
In fact if I place this tag around your sample code like this:
<cf_kiss>
<CF_IF CONDITION="1 EQ 1">
<CFOUTPUT>true!!!</CFOUTPUT>
</CF_IF>
<CF_IF CONDITION="1 EQ 2">
<CFOUTPUT>false!!!</CFOUTPUT>
</CF_IF>
</cf_kiss>
It outputs:
<cfif 1 EQ 1>
True!!!
</cfif>
<cfif 1 EQ 2>
False!!!
</cfif>
Thats a kewl tag no doubt.
I can't believe I spent the time writing that response. It must be my
American sarcasm. I just do not see the point . . .
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
- RE: Cf_BodyContent and other functionalities!! Nat Papovich
- RE: Cf_BodyContent and other functionalities!! Paul Mone
- RE: Cf_BodyContent and other functionalities!! Nat Papovich
- RE: Cf_BodyContent and other functionalities!! Sneid
- RE: Cf_BodyContent and other functionalities!! BORKMAN Lee
- RE: Cf_BodyContent and other functionalities!! BORKMAN Lee
- RE: Cf_BodyContent and other functionalities!! Hal Helms
- RE: Cf_BodyContent and other functionalities!! BORKMAN Lee
- RE: Cf_BodyContent and other functionalities!! Nat Papovich
- RE: Cf_BodyContent and other functionalities!! Ken Beard
- RE: Cf_BodyContent and other functionalities!! Joseph Higgins
- RE: Cf_BodyContent and other functionalities!! Ken Beard
- RE: Cf_BodyContent and other functionalities!! McCollough, Alan
- RE: Cf_BodyContent and other functionalities!! Nat Papovich
- Re: Cf_BodyContent and other functionalities!! Joseph Higgins
- RE: Cf_BodyContent and other functionalities!! BORKMAN Lee
- RE: Cf_BodyContent and other functionalities!! Erik Voldengen
- RE: Cf_BodyContent and other functionalities!! Paul Mone
- RE: Cf_BodyContent and other functionalities!! BORKMAN Lee
- RE: Cf_BodyContent and other functionalities!! Paul Mone
- RE: Cf_BodyContent and other functionalities!! Nat Papovich
