As far as I can read out from the undocumented sample for Ext.Direct the only thing I have to do to use it is:
Code:
Ext.Direct.addProvider(Ext.app.REMOTING_API,{type:'polling', url: 'maintenance/status'});
Ext.Direct.on('message', function(e){console.log(e.data)});
From: http://www.extjs.com/deploy/dev/exam...rect/direct.js
The only thing that I can produce with this code is:
"provider is undefined" in extjs (if !(provider.events)...)
So: How do I define the "provider" and why is the sample working without a provider???
Thank you very much in advance!
Regards,
Anton