1. #11
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,573
    Answers
    540
    Vote Rating
    311
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    From what I've seen so far there's nothing wrong with your request, the problem is in the response.

    What I'd really like is to see the response and headers from the Net tab.

    As far as I can tell from those screenshots (though they aren't enough to be definitive) your response is totally wrong. It seems to be a URL wrapped in PRE tags. Obviously that will fail when it's run through the JSON decoder.

  2. #12
    Sencha User mkariti's Avatar
    Join Date
    Aug 2011
    Posts
    92
    Vote Rating
    0
    mkariti is on a distinguished road

      0  

    Default


    Hi skirtle,
    Many thaks once again.
    I fainally got it to work but do have a few othert questions.
    However, I do have other problem such as in case of internal (404 or 500) error, the response is not directed to the failure section.
    Any Idea?
    Many thanks
    mkariti

  3. #13
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,573
    Answers
    540
    Vote Rating
    311
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    This is documented, though you could be forgiven for not finding it:

    http://docs.sencha.com/ext-js/4-0/#!...ata.Connection

    See the last paragraph of the intro docs.

    Your best bet is to treat errors as 200s but to include something in the JSON response to mark it as an error. Many people use the success property as a flag for this.

  4. #14
    Sencha User mkariti's Avatar
    Join Date
    Aug 2011
    Posts
    92
    Vote Rating
    0
    mkariti is on a distinguished road

      0  

    Default


    Many thanks skirtle. Thats exactly what im going to do!
    Cheers
    mkariti

Thread Participants: 2

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