1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    14
    Vote Rating
    0
    please is on a distinguished road

      0  

    Default Unanswered: alert response of restapi of the post

    Unanswered: alert response of restapi of the post


    hi all,
    i posted few records to restapi so i got response of json data again like {errorrcode:'internal error'} , so i have to show this response as a alert if the response is error show as alert error success show as success

    so i have parameter s to read the form record and operation how to do with this

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Answers
    656
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Please read the following:
    http://www.sencha.com/forum/showthread.php?238414

    Scott.

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Posts
    14
    Vote Rating
    0
    please is on a distinguished road

      0  

    Default


    thanks for the response, still its not working my json response data from post method {"error":"error while connecting"}

    success: function (response) {

    var jsonResp = Ext.JSON.decode(response.responseText);

    Ext.Msg.alert("Info","UserName from Server : "+jsonResp);
    },
    failure: function (response) {
    //var jsonResp = Ext.JSON.decode(response.responseText);
    Ext.Msg.alert("Error"+jsonResp);
    }

    response.responseText is undefined giving output please help me out

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