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,176
    Vote Rating
    119
    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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi