PDA

View Full Version : XmlStore



cybershield
13 Oct 2007, 12: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
22 Jun 2008, 6:58 AM
good work!

jay@moduscreate.com
22 Jun 2008, 8:52 AM
Simple, yet in the spirit of "Ext" :)