PDA

View Full Version : Building ExtJS 4 Application That Uses ExtDirect



billtricarico
9 Nov 2012, 9:47 AM
What is the preferred way to make a production build an ExtJS 4 app that uses Ext.Direct?

When I run the sencha create jsb command, it keeps telling me it can't find variable X. X is a part of my store CRUD calls back to the server. I copied the DirectApi json generated by the server and included it in in my index.html but it's not being recognized.

Thanks.

mitchellsimoens
14 Nov 2012, 10:42 AM
You can define the fn as a string and it will get resolved.