On 8/29/02, Angel Stewart penned:
I keep getting errors as though CF is totally ignoring the CFIF
statement and still parsing the /CFLOOP tag.
Here is some simple sample code:
CFIF LoopYes EQ True
cfloop index=count from=1 to=10
/CFIF
cfloop index=theindex from=1 to=2
Hi all,
Any idea why I can't seem to wrap CFLOOP tags in CFIF statements?
I keep getting errors as though CF is totally ignoring the CFIF
statement and still parsing the /CFLOOP tag.
Here is some simple sample code:
CFIF LoopYes EQ True
cfloop index=count from=1 to=10
: Looping depending on CFIF Statement
Hi all,
Any idea why I can't seem to wrap CFLOOP tags in CFIF statements?
I keep getting errors as though CF is totally ignoring the CFIF
statement and still parsing the /CFLOOP tag.
Here is some simple sample code:
CFIF LoopYes EQ True
Well..the bottom of my message got chopped.
This is the error I'm getting:
I get this error:
Just in time compilation error An extraneous end tag /CFloop has been
encountered at document position (22:2) to (22:10). End tags cannot be
present in CFML templates without a matching start tag.
The
matt
-Original Message-
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 11:38 AM
To: CF-Talk
Subject: Looping depending on CFIF Statement
Hi all,
Any idea why I can't seem to wrap CFLOOP tags in CFIF statements?
I keep getting errors as though CF
# /CFOUTPUT
/cfloop
/CFIF
-- Sam
-Original Message-
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 10:38 AM
To: CF-Talk
Subject: Looping depending on CFIF Statement
Hi all,
Any idea why I can't seem to wrap CFLOOP tags in CFIF statements
On 8/29/02, Angel Stewart penned:
I keep getting errors as though CF is totally ignoring the CFIF
statement and still parsing the /CFLOOP tag.
Here is some simple sample code:
CFIF LoopYes EQ True
cfloop index=count from=1 to=10
/CFIF
cfloop index=theindex from=1 to=2
The index Is CFOUTPUT#theindex# /CFOUTPUT
/cfloop
/CFIF
-Original Message-
From: Sam Roach [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 8:59 AM
To: CF-Talk
Subject: RE: Looping depending on CFIF Statement
Maybe:
CFIF LoopYes EQ True
cfloop index=count from
Your loop statements are improperly nested within the cfif statements...
Before closing a cfif you _MUST_ close any and all cfloop statements which
began after the opening cfif tag... actually, the CF server ought to be
throwing a parsing error on this page regardless of the value of the LoopYes
.
CFLOOP query=Service Area
/CFLOOP
So..thats what I want to do..that was my thinking. And apparently I
can't do it..I might as well just make two separate reports.
-Gel
From: Phoeun Pha
Subject: RE: Looping depending on CFIF Statement
Date: Thu, 29 Aug 2002 08:27:20 -0700
cfloop over service area query
cfinclude inner loop
/cfloop
/cfif
HTH,
Dan
-Original Message-
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 11:35 AM
To: CF-Talk
Subject: RE: Looping depending on CFIF Statement
Ok..it's like
: Phoeun Pha
Subject: RE: Looping depending on CFIF Statement
Date: Thu, 29 Aug 2002 08:27:20 -0700
__
Structure your ColdFusion code with Fusebox. Get the
official book at http://www.fusionauthority.com/bkinfo.cfm
FAQ: http
12 matches
Mail list logo