PDA

View Full Version : write my own proxy (class)



advgal
16 Nov 2012, 7:49 AM
I have a treepanel with a treestore and a model. I cannot use any of the standard proxies, so I have to write my own. What methods do I have to implement for my own proxy, the tree will be read only.

vietits
16 Nov 2012, 5:14 PM
You should look at the source code of Ext.data.proxy.Proxy, Ext.data.proxy.Server, Ext.data.proxy.Ajax. If you have the intention of writing your own reader, you also need to look at Ext.data.reader.Reader, Ext.data.reader.Json, etc. I wonder what your requirements are? Why can't you use standard proxies?

advgal
19 Nov 2012, 2:02 AM
I have to make soap-calls. But I try the ajax proxy.

droessner
19 Nov 2012, 5:43 AM
Check out the SOAP proxy and reader:

http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.soap.Proxy
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.soap.Reader

advgal
19 Nov 2012, 6:08 AM
where can I download extJS 4.1.2?

advgal
19 Nov 2012, 9:07 AM
I have to make soap-calls. But I try the ajax proxy.
How do I set raw POST parameters? Not in the form "para=data1&para=data2"?