Re: [flexcoders] Re: LCDS - adding a new Item using createItem()

2009-01-19 Thread João Fernandes
Bart, during the sync method, when you create your bean, are you setting the new generated Id back again into the bean? -- João Fernandes Adobe Certified Expert Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)

[flexcoders] Re: LCDS - adding a new Item using createItem()

2009-01-19 Thread benjidudu
I had the same problem and I ended with the following solution: Add an event listener on your collection like this: groups.addEventListener(CollectionEvent.COLLECTION_CHANGE, onDataChanged); In the onDataChanged function, look if the 'kind' property of the event is CollectionEventKind.UPDATE. The