Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Touch Premium Member
    Join Date
    Aug 2011
    Posts
    59
    Vote Rating
    0
    0steve is on a distinguished road

      0  

    Default How get data before the data gets loaded into the store?

    How get data before the data gets loaded into the store?


    Hi,

    I am using Sencha Touch 2.0.x and Sencha Architect 2.1.x.

    I would like to know how to get the raw data before the data gets loaded into the store.
    This is for debug purposes, I would like to know if the result data from the store url request is json valid.

    For example:

    The webservice response (invalid json):
    Code:
    {{response}}
    I would like to know how do I get this invalid json response before the response loads into the store.
    Thus, I can see what data is being passed through before it gets loaded into the store.

    I know I can use the web browser for debug, but I would like to monitor request calls without a web browser.

    Thanks in Advance!

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,064
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Hrm... I don't quite see an event that will do what you want. You essentially want to get the request before it goes to the reader.

    In the data architecture, the proxy is responsible for the where and how and the reader is responsible for reading the format.

    Take a look at overriding the getResponseData method of the Json reader.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1