Results 1 to 6 of 6

Thread: ExtDirectSpring and problem with api-debug.js

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default ExtDirectSpring and problem with api-debug.js

    Hi,

    My app works well on localhost but doesn't want to work on a client environment. I noticed difference in api-debug.js files.
    On the client side it looks like:
    Code:
    Ext.ns('Ext.app');
    
    Ext.app.REMOTING_API = {
      "url" : "/comida/extdirect/router",
      "type" : "remoting",
      "actions" : {
      }
    };
    But in the localhost it contains all requried actions:
    Code:
    Ext.ns('Ext.app');
    
    Ext.app.REMOTING_API = {
     "url" : "/comida/extdirect/router",
     "type" : "remoting",
     "actions" : {
       "productController" : [ {
         "name" : "updateStock",
         "len" : 0,
         "formHandler" : true
       }, {
         "name" : "history",
         "len" : 1
       }, {
         "name" : "updateProduct",
         "len" : 0,
         "formHandler" : true
       }, and so on ...
    What can be a reason of a such behaviour? I tested the same version of my application on both environments. I made my best to make the same environment on the localhost and the production. So they should be identical.
    I'm using grails 1.3.7 (with spring 3.0.5), extdirextspring 1.0.13 (compatible with spring 3.0.6), ExtJS 4.1.0-beta, jdk-1.6.06. I know that I'm using extdirectspring not compatible with spring version which I have, but it works on the localhost.
    Last edited by emstol; 13 Apr 2012 at 12:41 AM. Reason: grammar

Posting Permissions

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