Hi all, I had a .jsp page tha generate a Ext Class like:
in my app.js I initialze Ext.application() in Ext.onReady, and also I require all required classes. This work well until required classes are loaded by dynamic loader, but when I compile classes using sencha cmd I cannot instantiate some of my required classes, since it depend on the ApplicationData member. The class is like:
In fact, afte compilation with sencha cmd the url memeber is defined as url: 'undefined/store' Is the only solution initialize url in constructor?
url: ApplicationData.contextPath + '/store'