Nostromo
28 Sep 2010, 6:05 AM
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:
//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! :)
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:
//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! :)