I haven't tried this, but I expect it wouldn't work.  I certainly don't
think it's good style because you have two "containers" (the CFIF element
and the CFLOOP element) that overlap and this is never good markup.

Try it and see.

-----Original Message-----
From: Ruslan Sivak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 2:10 PM
To: CF-Talk
Subject: Conditional loops


Is there a way to have conditional loops such as 

<CFIF something>
        <CFLOOP parameters1>
<CFELSE>
        <CFLOOP parameters2>
</CFIF>

        </CFLOOP>

Ruslan Sivak
Technologist
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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