Results 1 to 3 of 3

Thread: Ext.Direct

  1. #1
    Sencha User
    Join Date
    Aug 2008
    Posts
    42
    Vote Rating
    0
      0  

    Default 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:

    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

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    did you also include the api.php file?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Aug 2008
    Posts
    42
    Vote Rating
    0
      0  

    Default 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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •