Hello Team,
I' am using Json Rpc to get Data from my Web Servize,
My problem is that my callvack function is never Called
and t=this.getTransaction(e) is always null in my ondata function
I'm using RemotingProvider.js under the last ext-4.0-pr2.
here is my code






<html>
<head>
<link rel="stylesheet" type="text/css" href="../../application/extjs/resources/css/ext-all.css" />
<title>Ext JS 4.0 GPP Examples</title>
</head>
<body>
<!--<script type="text/javascript" src="../../application/extjs/ext-base.js"></script>-->
<script type="text/javascript" src="../../application/extjs/ext-core-debug.js"></script>
<script type="text/javascript" src="../../application/extjs/ext-all-debug.js"></script>
<script type="text/javascript" src="ntom4Provider.js"></script>
<script type="text/javascript">
Ext.BLANK_IMAGE_URL = 'extjs/resources/images/default/s.gif';
Ext.app.REMOTING_API = {
"url": "System.jsonrpc.rem",
"type": "ntom4",
"actions": {
"System": [{ "name": "logon", "len": 2 }, { "name": "logoff", "len": 0 }, { "name": "sayHello", "len": 1}]
}
};
// application main entry point
Ext.onReady(function () {
Ext.Direct.addProvider(Ext.app.REMOTING_API);
Ext.QuickTips.init();
function myCallBack(provider, response) {
alert(response);
}
var myLogin = function () {
debugger
alert('a');
System.logon('admin', 'nimda', myCallBack);
}

var windowlogin = Ext.widget('window', {
labelWidth: 80,
title: 'Please Login',
defaultType: 'textfield',
monitorValid: true,
items: [{
fieldLabel: 'Username',
name: 'loginUsername',
allowBlank: false
}, {
fieldLabel: 'Password',
name: 'loginPassword',
inputType: 'password',
allowBlank: false
}, {
xtype: 'button',
name: 'loginButton',
text: 'login',
scope: this,
handler: myLogin
}
]
});
windowlogin.show();
});
</script>
</body>
</html>


in this case myCallBack function is never called!


Thank you very much!