20 Nov 2012 1:45 PM #1
Answered: Rest Proxy success results after sync
Is there a way to get the my json results after synch and do something with them. I have tried wiring my "write" event, but is doesn't have anything useful that shows the callback, or success results.
It should have the response, the responseText is just nested in that object.
22 Nov 2012 5:52 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
It should have the response, the responseText is just nested in that object.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
22 Nov 2012 10:46 AM #3
Gotcha, I am having to look for this because I am having issues with the clientIdProperty, I can't send the record with an id, because my data model on the db side does like the 'Ext-record-1' part. Is there an easier way, to round trip id's without having to send the whole 'Ext-record-' part.
Option 1: Is it better to just send the 'ext-record' and round trip it to have it update the store,
Option 2: or is it cheaper sending amounts of data without the 'Ext-record-part and then set up a callback and manually loop through the store
Thanks for all your help and Happy Thanksgiving.