Sean, You are right. When I replace the cfdump w/ a cfoutput, everything works.
Thanks! Beth Bowden Phone: 919-541-3355 FAX: 919-541-3687 E-Mail: [EMAIL PROTECTED] Address: NIEHS, MD EC-03, P.O. BOX 12233, Research Triangle Park, NC 27709 -----Original Message----- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 1:10 PM To: [email protected] Subject: Re: [Reactor For CF] Iterator oddity On 3/14/06, Bowden, Beth (NIH/NIEHS) [E] <[EMAIL PROTECTED]> wrote: > I was starting to use iterators in Reactor and ran into a strange > problem. Basically, when I loop over this code, all modification numbers > are returned: > > <cfset thisSlice = modIterator.getNext() /> > <cfdump var="#thisSlice.getModification_No()#" /> > > When I loop over this code, every other modification number is returned: > > <cfdump var="#modIterator.getNext().getModification_No()#" /> I suspect this is more to do with how cfdump works than an issue with the iterator... I tried to reproduce this behavior but haven't been able to... -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/

