1. #1
    Sencha User
    Join Date
    Aug 2008
    Posts
    42
    Vote Rating
    0
    abtrapp is on a distinguished road

      0  

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

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,408
    Vote Rating
    851
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    did you also include the api.php file?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Aug 2008
    Posts
    42
    Vote Rating
    0
    abtrapp is on a distinguished road

      0  

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

Thread Participants: 1