-
1 May 2011 10:54 PM #1
classes.js in MVC examples
classes.js in MVC examples
What is the use of classes.js in the MVC examples which is not referred to in the MVC tutorial in the api documentation. If we follow the MVC tutorial in the api documentation it leads to an error "Ext.Loader is not enabled, ...", please help.
-
1 May 2011 11:04 PM #2
enabling ext loader
enabling ext loader
The classes.js file contains all the necessary components that make up the application. I am sure the stores, models and controllers are defined in this file. They must have used the Sencha command to comp-bine (compress & combine) the MVC application files after development.
If you need to use ext loader, you need to enable it. You can do so by:
You need to put the above code before your onReady method.Code:Ext.Loader.setConfig({enabled:true});Last edited by olakara; 1 May 2011 at 11:10 PM. Reason: added explanation
-
1 May 2011 11:49 PM #3
Thanks! Abdel for help, I am experimenting mvc and I am finding ways
Similar Threads
-
How to parse class with array of classes, an another array of classes inside that.
By Jim.Barrows in forum Ext 2.x: Help & DiscussionReplies: 11Last Post: 20 May 2009, 11:46 PM -
New Examples at examples.extjs.eu
By jsakalos in forum Community DiscussionReplies: 6Last Post: 14 May 2008, 8:51 PM -
Builder classes/Preconfigured Classes
By zhiliang in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 7 May 2008, 1:33 AM


Reply With Quote