[flexcoders] Problems calling a RemoteObject within a loop
I've noticed a critical issue when calling a remoteObject within a loop and having a resultHandler, the resultHandler does not execute the same number of times that the remoteObject was invoked. Can anyone explain this? In my case, after each record is updated, I increment an int to identifty when all records have been saved, because another remote call needs to be fired off when all records have been added/updated. This is not happening, and it's a critical issue. - Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Problems calling a RemoteObject within a loop
send the parameter into an array ! On 8/30/06, Doug Arthur <[EMAIL PROTECTED]> wrote: I've noticed a critical issue when calling a remoteObject within a loop and having a resultHandler, the resultHandler does not execute the same number of times that the remoteObject was invoked. Can anyone explain this? In my case, after each record is updated, I increment an int to identifty when all records have been saved, because another remote call needs to be fired off when all records have been added/updated. This is not happening, and it's a critical issue. - Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Problems calling a RemoteObject within a loop
Can you please elaborate on this? My CFC does not expect an array, I've tried using an AbstractOperation.send() using an array, but that also doesn't get me the expected results. - Doug On 8/30/06, Fernando Lobos <[EMAIL PROTECTED]> wrote: send the parameter into an array ! On 8/30/06, Doug Arthur <[EMAIL PROTECTED] > wrote: I've noticed a critical issue when calling a remoteObject within a loop and having a resultHandler, the resultHandler does not execute the same number of times that the remoteObject was invoked. Can anyone explain this? In my case, after each record is updated, I increment an int to identifty when all records have been saved, because another remote call needs to be fired off when all records have been added/updated. This is not happening, and it's a critical issue. - Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Problems calling a RemoteObject within a loop
Are you certain that is really what is happening? I don’t do much (any) RemoteObject but I do a lot of HTTPService calls in loops and I absolutely depend on getting either a result or a fault for each call. Are you using the ACT pattern with the AsyncToken to track your calls? This might help you figure out what is happening. Also, your calls in the loop are independent of each other right? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Arthur Sent: Wednesday, August 30, 2006 3:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problems calling a RemoteObject within a loop I've noticed a critical issue when calling a remoteObject within a loop and having a resultHandler, the resultHandler does not execute the same number of times that the remoteObject was invoked. Can anyone explain this? In my case, after each record is updated, I increment an int to identifty when all records have been saved, because another remote call needs to be fired off when all records have been added/updated. This is not happening, and it's a critical issue. - Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Problems calling a RemoteObject within a loop
Is your fault handler being called? I think the point from Fernando was for you to add another method in your CFC that could take an array of the objects that you’re updating. Then in the CFC you would loop through that array so that more work is done on the server. This would reduce your network traffic somewhat. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doug Arthur Sent: Wednesday, August 30, 2006 12:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problems calling a RemoteObject within a loop I've noticed a critical issue when calling a remoteObject within a loop and having a resultHandler, the resultHandler does not execute the same number of times that the remoteObject was invoked. Can anyone explain this? In my case, after each record is updated, I increment an int to identifty when all records have been saved, because another remote call needs to be fired off when all records have been added/updated. This is not happening, and it's a critical issue. - Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___