PDA

View Full Version : XmlStore


cybershield
10-13-2007, 04:16 PM
Why don't add XmlStore (equivalent of JsonStore but use XML response) into extjs 2 library ?
The source code of this class is very simple and can parsing the AJAX XML response


Ext.data.XmlStore = function(c){
Ext.data.XmlStore.superclass.constructor.call(this, Ext.apply(c, {
proxy: !c.data ? new Ext.data.HttpProxy({url: c.url}) : undefined,
reader: new Ext.data.XmlReader(c, c.fields)
}));
};
Ext.extend(Ext.data.XmlStore, Ext.data.Store);


Ciao Massimo

woog
06-22-2008, 10:58 AM
good work!

jgarcia@tdg-i.com
06-22-2008, 12:52 PM
Simple, yet in the spirit of "Ext" :)