reuse proxy call data for extjs store
Posted
by user124118
on Stack Overflow
See other posts from Stack Overflow
or by user124118
Published on 2010-05-24T19:35:50Z
Indexed on
2010/05/24
19:41 UTC
Read the original article
Hit count: 450
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.
© Stack Overflow or respective owner