1. #1
    Sencha Premium Member
    Join Date
    Sep 2013
    Posts
    7
    Vote Rating
    0
    svidal is on a distinguished road

      0  

    Default Direct with extjs 5 and node

    I have a problem with extjs 5 and Direct.
    The same sample work's in extjs4 but not in 5.

    when the /directapi return:

    Ext.ns("ExtRemote");ExtRemote.REMOTING_API={"url":"http://localhost:8888/direct","namespace":"ExtRemote","type":"remoting","actions":{"DXHello":[{"name":"wave","len":1}],"DXHello.js.bak":[{"name":"wave","len":1}],"DXHello2":[{"name":"wave","len":1}],"DXHello3":[{"name":"wave","len":1}]}}Ext.ns("ExtRemote");ExtRemote.REMOTING_API={"url":"http://localhost:8888/direct","namespace":"ExtRemote","type":"remoting","actions":{"DXHello":[{"name":"wave","len":1}],"DXHello.js.bak":[{"name":"wave","len":1}],"DXHello2":[{"name":"wave","len":1}],"DXHello3":[{"name":"wave","len":1}]}}


    and the console said:
    TypeError: Ext.ns is not a function

  2. #2
    Sencha - Services Team Stju's Avatar
    Join Date
    Dec 2008
    Location
    Redwood city, California
    Posts
    290
    Vote Rating
    3
    Stju is on a distinguished road

      2  

    Default

    There is an updated example provided in repository : https://github.com/jurisv/extdirect....lient/DemoExt5

Thread Participants: 1

Tags for this Thread