reuse proxy call data for extjs store
- by user124118
I have a xml that i need to bind to XTemplate. The XML structure is as follows
John
Smith
John
Doe
Johny
Byrd
I am using Ext.data.Store with proxyurl tot he xml, Ext.data.XML reader to rad the xml and a listener that bind the data to the Xtemplate.
The xmlreader needs a root node to be specified and i have to give root name as "Student_Name"
It need to bind it to one more store for "Faculty_Name" as the root node. SO i end up calling my service to get xml twice. Is there a way to call service once to get the xml and bind it to two stores with different root nodes.