1. #1
    Sencha Premium Member
    Join Date
    Feb 2011
    Posts
    75
    Vote Rating
    1
    Answers
    2
    ShaneTex is on a distinguished road

      0  

    Default Answered: Rest Proxy success results after sync

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,652
    Vote Rating
    901
    Answers
    3575
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    It should have the response, the responseText is just nested in that object.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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
    Vote Rating
    1
    Answers
    2
    ShaneTex is on a distinguished road

      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

Thread Participants: 1

Tags for this Thread