I have a problem with sencha touch xmlreader.
find my code below
Ext.regModel('User', {
fields: ['id', 'name', 'email']
});
var feedStore = new Ext.data.Store({
model: 'User',
proxy: {
type: 'ajax',
url : '192.168.248.1/notizie.xml',
reader: {
type: 'xml',
record: 'user'
}
}
});
notizie.xml
1
E
f
feedStore is always empty.
Could anyone can discover the reason?
Regards,
Kevin
Yes, if you use JSON then you can use scripttag proxy or if you use native app wrapper like phonegap than you don’t get that cross domain security issue.