>> Finally, is there somewhere among the Reactor pages where I should
>> document this issue and solution for others down the road? You're welcome to add them to the Reactor Wiki at http://reactor.wikispaces.com/. The information there will/should one day be integrated into the official Reactor docs. Wouter ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Sorensen Sent: dinsdag 28 november 2006 23:10 To: [email protected] Subject: RE: [Reactor for CF] Iterator getNext() question Bayo's solution worked perfectly. I'm just now testing Qasim's solution as well. Is there a compelling reason to choose one solution over the other, or is it a case where I pick one and go with it? In any case, I wanted to thank you both very much; this has saved me many hours of additional confusion. :-) Finally, is there somewhere among the Reactor pages where I should document this issue and solution for others down the road? Thanks again, Dan ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Qasim Rasheed Sent: Tuesday, November 28, 2006 12:39 PM To: [email protected] Subject: Re: [Reactor for CF] Iterator getNext() question I have used this technique <cfloop condition="#iterator.hasMore()#"> <cfset iterator.getAt(1).delete( useTransaction=false ) /> </cfloop> HTH! Qasim On 11/28/06, bayo <[EMAIL PROTECTED]> wrote: Dan, To get around this behavior, call myIterator.resetIndex() after every deletion (once per loop iteration). Bayo -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ------------------------------------------------------------- Dexia Bank disclaimer : <a href="http://www.dexia.be/maildisclaimer.htm" target=_blank>http://www.dexia.be/maildisclaimer.htm</a> ------------------------------------------------------------- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
