I am not apologizing for Allaire, I am stating the facts about the way the
program works. I also feel that a bug is in the eye of the beholder. Just
because it doesn't work the way you a) expect it to or b)like you want it to
doesn't mean it is a bug. This "issue" has been around since the first time
you could have looping constructs (cfloop, cfoutput) nested within each
other. I agree on the empty list elements issue, however.
DC
----- Original Message -----
From: "Aidan Whitehall" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 06:31
Subject: RE: [cold_fusion] Unusual Results, help
> > This has always been the behavior of CF. I can agree that it at first
> > glances appears to be counter intuitive, but at the same
> > time, any reference
> > to queryname.fieldname outside the context of a <CFLOOP> or <CFOUTPUT>
> > results in a reference to the value of the field in the first
> > row of the
> > query. The functionality is such that there is no "inheritance" of
> > references.
>
> Well, I think you're at risk of sounding like an apologist for Allaire.
>
> There are a couple of things that I feel need "fixing" in ColdFusion, and
> this is one of them (the other one that springs to mind is the inability
to
> optionally specify that empty list elements aren't ignored - really useful
> if you are populating database tables from delimited lists).
>
> <CFOUTPUT QUERY="GetParents">
>
> *Crappy CFSET GetParents.ParentID code required here*
>
> <CFOUTPUT QUERY="GetChildren">
>
> #GetParents.ParentID# doesn't increment properly with each
> iteration of the outer loop.... WHY NOT ALLAIRE?!?!
>
> </CFOUTPUT>
> </CFOUTPUT>
>
>
> > Since CF5 is feature complete and in RC testing, I would
> > seriously doubt
> > that a change in behavior is going to happen in this release,
> > or for that
> > matter even in NEO.
>
> Unfortunately, I think you might be right.
>
> "Hey, we've fixed a load of old bugs!" doesn't sound as good to new
> customers as "Hey, there's a load of new features!".
>
>
>
> --
> Aidan Whitehall <[EMAIL PROTECTED]>
> Netshopperuk
> Telephone +44 (01744) 648650
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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