PDA

View Full Version : Ext.direct Issues



mkempf
17 Sep 2013, 7:18 AM
Hi folks,

iam quite new to Extjs and trying to implement a json rpc with the extjs direct provider.

now i have created the api and the router and added the provider to the exjs direct manager

My Namespace is Ext.ss and the registration is

Ext.direct.Manager.addProvider(Ext.ss.REMOTING_API);

so far so good - i can call functions on Ext.ss and they worke like charm.
f. ex. i can call Ext.ss.Echo.send()

But when i try to implement it in for example a Ext.store.Store i get Errors.

Ext.create("Ext.data.Store",{
storeId : 'prisma_filemanager',
pageSize : 10,
proxy :{
type: 'direct',
directFn : Echo.send,
}


});

Simple store but i get error directCfg undefined.

can someone help me out ?!

thx a lot