1. #1
    Ext User
    Join Date
    Sep 2010
    Posts
    21
    Vote Rating
    0
    Nostromo is on a distinguished road

      0  

    Default Ed Spencer is totally responsible!!!

    Ed Spencer is totally responsible!!!


    Having trouble with getting my ajaxresponse into a store....


    I have a XmlStore and do myXmlStore.loadData(response.responseText,false);


    My error msg is:
    Uncaught TypeError: Object < has no method 'join'

    looking into where the error appeared in the sencha touch source this is what is stated there:

    Code:
    //FIXME: this is not a good solution. Ed Spencer is totally responsible for this and should be forced to fix it immediately.
            for (var i = 0, length = records.length; i < length; i++) {
                records[i].needsAdd = false;
                records[i].join(this);
            }
    this is found at line 8363 of sencha touch v0.95 (debug-w-comments).

    The problem that I have now:
    I have a variable with my ajax response. How can I get my response.responseText in my store?

    Gr,
    Nostromo

    And someone call Ed Spencer!

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,801
    Vote Rating
    604
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    loadData expects data in the form:

    Code:
    [{
        prop1: 'a',
        prop2: 'b'
    },{
        prop1: 'c',
        prop2: 'd'
    }]
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext User
    Join Date
    Sep 2010
    Posts
    21
    Vote Rating
    0
    Nostromo is on a distinguished road

      0  

    Default


    Thanks Evant for your fast reply!

    How to get from an variable that contains my xml response to your data form?
    Ext.data.XmlReader.read(); doesnt do much for me... or am I looking in the wrong direction?

Similar Threads

  1. Display data before it is totally loaded
    By DarkStarDS in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 23 Jul 2009, 3:45 AM
  2. [CLOSED] beta5 - app totally broken
    By walkerr in forum Ext GWT: Bugs (1.x)
    Replies: 7
    Last Post: 29 Jun 2008, 9:06 PM
  3. Window panel totally messed up in a Drupal theme?! HELP!
    By SkoalFyfan in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 3 Feb 2008, 3:25 PM
  4. Performing an action when the grid is totally loaded & rendered
    By evankstone in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 10 Sep 2007, 12:02 PM
  5. [SOLVED] Problem Re-loading data in grid (totally weird)
    By franzisk in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 12 Jun 2007, 11:59 AM

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