I am trying to add a new record. This record will need values from 3 different lookup tables, so I issue fills on the respective collections before I start creating my new record. i.e.
Record: contact Lookups: countries, contacttypes, markets In this asynchronous world, however, before I can create and save my new contact, I need to make sure the 3 fills have completed successfully. My first thought was to create a collection of some sort where I would add pending data operations with a status of Pending and then on successful result, change that status to Complete. I would attach an event listener to the collection that dispatches an event each time a status is updated. I could then listen for that event and once my 3 data operations are Complete, I could trigger the creation and saving of my contact object. But it sounds messy. Any suggestions? Vic -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

