Results 1 to 3 of 3

Thread: Migration from ExtJs 4 to 5.1.1 and operation.response.responseText

  1. #1
    Touch Premium Member
    Join Date
    Mar 2012
    Posts
    115
    Answers
    13

    Default Answered: Migration from ExtJs 4 to 5.1.1 and operation.response.responseText

    HI,

    Under 4 on a store call back

    Code:
    mostPopularStore.load({
    scope   : this,
    callback: function(records, operation, success) {
    var data = Ext.decode(operation.response.responseText);
    }
    This now causes an error. What is the correct method to retrive the responseText.

    thanks

  2. Hi--

    You should use:

    Code:
    operation.getResponse().responseText
    Thanks!
    Joel

  3. #2
    Sencha User
    Join Date
    Nov 2014
    Posts
    3,120
    Answers
    446

    Default

    Hi--

    You should use:

    Code:
    operation.getResponse().responseText
    Thanks!
    Joel

  4. #3
    Touch Premium Member
    Join Date
    Mar 2012
    Posts
    115
    Answers
    13

    Default

    thanks

Similar Threads

  1. Replies: 11
    Last Post: 2 Sep 2014, 11:00 PM
  2. response.responseText
    By brunopbarrote in forum Ext: Discussion
    Replies: 8
    Last Post: 3 Feb 2012, 10:03 AM
  3. empty response.responseText
    By josw in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 19 May 2011, 1:04 AM
  4. Replies: 1
    Last Post: 30 Jun 2010, 2:08 AM
  5. How to get response(responseText)?
    By syun in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 8 Aug 2008, 6:06 AM

Posting Permissions

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