1. #11
    Sencha User
    Join Date
    May 2010
    Posts
    110
    Vote Rating
    1
    sajan is on a distinguished road

      0  

    Default


    Sorry, my mistake!!!

    I meant to say firefox.

    But now I am facing new problem. I am getting 302 error saying that the JSON String cannot be parsed.

    Digging for an answer.
    I am sending the below JSON from my server but in the browser it shows unable to parse JSON warning.
    Code:
    {    "success": true,
        "totalCount": 1,
        "rows": [
            {
                "T10F2": 1573,
                "T6F2": "Abinajok BBC",
                "T10F8": "sg",
                "T10F6": "4/8/12",
                "T10F13": "00/00/00",
                "T10F3": 509,
                "T10F9": 0,
                "T10F12": "",
                "T10F5": "",
                "T10F1": 272
            }
        ]
    }
    [WARN][Ext.data.reader.Reader#process] Unable to parse the JSON returned by the server: Error: You're trying to decode an invalid JSON String:

    ON debugger I see I am getting HTTP 302 error. Same technique used to work in extjs but don't know why it is showing error.
    Any clue?
    thanks in advance.

  2. #12
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,185
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    It shouldn't have a problem with a redirect (302). The JSON above looks legit.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #13
    Sencha User
    Join Date
    May 2010
    Posts
    110
    Vote Rating
    1
    sajan is on a distinguished road

      0  

    Default


    I dont know whats wrong, May be I am missing something in Sencha Designer?
    I have a list which is using one store and that store is using a model.
    there are so many fields coming back.
    but on itemtpl of the list I have set it like:

    Code:
    <div> {T6F2}</div>
    am I missing something?

    I really dont know.
    I think I am correct
    thanks