Results 1 to 3 of 3

Thread: Rest Proxy success results after sync

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2011
    Posts
    75
    Answers
    2
    Vote Rating
    1
      0  

    Default 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.

  2. It should have the response, the responseText is just nested in that object.

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,323
    Answers
    3884
    Vote Rating
    1294
      0  

    Default

    It should have the response, the responseText is just nested in that object.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

  4. #3
    Sencha Premium Member
    Join Date
    Feb 2011
    Posts
    75
    Answers
    2
    Vote Rating
    1
      0  

    Default

    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.

    Shane

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •