标签:
var myStore = Ext.create("Ext.data.Store", { model: "User", proxy: { type: "ajax", url : "/users.json", writer : { type: "xml"//改变请求参数格式为xml }, reader: { type: "xml", rootProperty: "users" } }, autoLoad: true});
Sencha Touch 小细节之----store请求参数为xml使其能与webservice结合
标签:
原文地址:http://my.oschina.net/u/259577/blog/387148