I am trying to get Ext.Direct running inside SA.

ExtDirect itself works, but how should this be done inside SA?!?

My API is always rejected (load failure).
I tested it with JSON and JavaScript Notation:

Code:
{
  • "url": "/edr_router",
  • "type": "remoting",
  • "actions": {
    • "CL_EXT_MODEL": [
      • {
        • "name": "CUSTOMER",
        • "len": 1
        },
      • {
        • "name": "CUSTOMER_PAV",
        • "len": 1
        },
      • {
        • "name": "INTER_REDEFO_LOAD_001",
        • "len": 1
        }
      ]
    }
}
Code:
Ext.app.REMOTING_API ={  "url":"/edr_router",  "type":"remoting",  "actions":{      "CL_EXT_MODEL":[      {          "name":"CUSTOMER",          "len":1       },      {          "name":"CUSTOMER_PAV",          "len":1       },      {          "name":"INTER_REDEFO_LOAD_001",          "len":1       },      {          "name":"INTER_REDEFO_LOAD_002",          "len":1       },      {          "name":"INTER_REDEFO_LOAD_PAV_001",          "len":1       },      {          "name":"INTER_REDEFO_SAVE_001",          "len":1       },      {          "name":"INTER_REDEFO_SAVE_002",          "len":1       },      {          "name":"INTER_REDEFO_SAVE_PAV_001",          "len":1       },      {          "name":"MATERIAL",          "len":1       },      {          "name":"PRINT",          "len":1       },      {          "name":"SEARCHHELP",          "len":1       }]  }};
none of them worked for me.I also had some issues to get it running the right way using Ext.Loader. The store always throwed some errors, because ExtDirect API was loaded to late to be used for ExtDirectFn.My only solution was to hardcode API and constructor and launch method:
Code:
...    launch: function() {
        Ext.direct.Manager.addProvider(Ext.app.REMOTING_API = {
            type: 'remoting',
            url: 'edr_router',
            actions: {
                "ZCL_EXT_MODEL": [{
                    "name": "A8500_MARGIN_CALCULATION_NEW",
                    "len": 1
                }]
            }
            //namespace: 'Veka'
        }); 


        var directStore = Ext.create('Veka.store.BwDirectStore', {
            proxy: {
                directFn: ZCL_EXT_MODEL.A8500_MARGIN_CALCULATION_NEW,
                extraParams: {
                    //CUSTOMER: '',
                    //MATERIAL: '',
                    FISCYEAR: '2010',
                    FISCPER_FROM: '1',
                    FISCPER_TO: '12'    
                }
            }
        });
        directStore.load();


        var grid = Ext.create('Veka.view.BwGrid', {
            fullscreen: true
        });
        var titleBar = Ext.getCmp('gridTitleBar');
        titleBar.setTitle(titleBar.getTitle() + ' (' + SYS_UNAME + ')');
    }
was is the prefered, working way to do this?

Cheers Holger