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

Reply via email to