In Java script when we send GET request it goes without adding any parameter, But in EXT-JS it auto add CallBack parameter. (i checked with Wireshark & firebug)
we are able to see xml on browser on Juniper MFC URL, because it sends GET request, but browser show 404 error when REQUEST sent with any parameter like ‘callback parameter’ (acc to Firebug, browser & wireshark).
So i need to create a new proxy Extend from ScriptTagProxy, in that modified load function.
Please tell me how i can do that.
I have done the following but no luck.
var _Proxy = Ext.extend(Ext.data.MyScriptTagProxy({
url: 'http://IP:PORT/App',
method: 'GET',
nocache: false,
restful: true
});
Ext.define('Ext.data.MyScriptTagProxy' {
extend: 'Ext.data.ScriptTagProxy',
constructor:function(cnfg){
this.callParent(arguments);//Calling the parent class constructor
this.initConfig(cnfg);//Initializing the component
this.on('beforerender',this.beforeRender);
}});
IF there is another solution for topic also please suggest.
Finally I found the solution,
My prob :- Mentioned in Qus.
My Solution :- I send Request to Server via AJAX, than save the responsetext, Convert the same into XML via jQuery. then give this value to data field of XMLStore.
since server is in another domain, so also disabled POP-Up blocker.
tool using: – ExtDesigner
My code :- (Sorry for code quality)