When adding a new item to
dojox.data.JsonRestStore
I use store.newValue
and the store.save()
that in turn causes a the new data to be sent to my server
The server now needs to perform an insert into the database,
and if it sees that an identity field is 0 (or null or negative)
it will assign a new ID to it.
My question is of course, how do 'propagate' this new ID back
to the store ?
thank you
--
Vlad P
author of C++ ORM
http://github.com/vladp/CppOrm/tree/master--
http://www.fastmail.fm - Send your email first class
_______________________________________________
FAQ:
http://dojotoolkit.org/support/faqBook:
http://dojotoolkit.org/docs/bookForums:
http://dojotoolkit.org/forumDojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest