Search:

Type: Posts; User: dschere

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    2,505

    example: ext direct calling a python method

    I attached a complete example of Ext direct calling a python method.

    Prerequisites:

    You need to install the http://code.google.com/p/extdirect/ module in python.

    Overview:
    ...
  2. According to the...

    According to the http://www.sencha.com/products/extjs/extdirect specification

    this is the reply that the sencha client expects from the server:

    <html><body><textarea>{YOUR JSON RESPONSE...
  3. You're trying to decode an invalid JSON String

    I am trying to make an Ext direct call using a script on the server side. Why is this not compliant json?

    You're trying to decode an invalid JSON String: <html><body><textarea>{"tid": 1, "action":...
  4. Replies
    104
    Views
    98,916

    So ... how do one use this with Ext.direct?

    // so I'm inside either onReady or launch if I'm using
    // MVC

    // I do this

    var provider = new Ext.direct.PollingProvider({
    type:'remoting',
    url: <The path to your...
  5. Ext JavaScript talking to a Python script via jsconrpc

    Hello,

    I am using python on the server side extensively and wanted to create a generic facility within javascript to call routines using json.




    Client module applianceApi.js:
Results 1 to 5 of 5