-
23 Jan 2010 1:05 AM #1
Ext.Direct
Ext.Direct
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:
From: http://www.extjs.com/deploy/dev/exam...rect/direct.jsCode:Ext.Direct.addProvider(Ext.app.REMOTING_API,{type:'polling', url: 'maintenance/status'}); Ext.Direct.on('message', function(e){console.log(e.data)});
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
-
23 Jan 2010 6:38 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
did you also include the api.php file?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
23 Jan 2010 11:26 PM #3
Great!
Great!
Thank you very much!!!
Didn't realized that
Now the only thing left for me to do is: find out how this stuff is working by trial / error or find a tutorial about it (which seems harder after some searching
)
Once again, thanks!


Reply With Quote