All,
I am running into an issue when trying to mimic the adobe crm tutorial provided with the LCDS install.
Basically, I am able to add items to my arraycollection, which magically in turn is utilizing my dataService and calling my custom assembler .createItem. It then calls update collection and my view updates in the Air App with the correct id and information (believe it's delegating to my .fill method in my assembler).
However, if i add multiple items, and then close my Adobe Air Application, when i open it back up, i have a duplicate of the last entry i added (one item in the datagrid has the correct id populate by the Database, the other id is the default value of the ID of the actionscript VO object - which i'm assuming is a local cached instance of the object in the sqllite database).
Any insight on this problem would be useful.
It's almost as if after the immediate createItem is called, it's not synching the local cached instance of the object serialized in the sqllite db with what was created on the back-end. Something else is being called (perhaps the fill) that is synching every previous item created but not the last one.
I'm using LCDS, Apache Tomcat 6, Java/Spring back-end, and SqlServer DB.
Thanks in advance,
Damian Vuckovich