1. #1
    Sencha User amitkahan's Avatar
    Join Date
    Mar 2011
    Location
    Mahuva
    Posts
    18
    Vote Rating
    0
    amitkahan is on a distinguished road

      0  

    Question 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.
    Amit Sidhpura
    Owner, Kahan

    Email ID: amit@kahan.in
    Homepage: www.kahan.in

  2. #2
    Sencha User
    Join Date
    Jul 2007
    Posts
    50
    Vote Rating
    0
    olakara is on a distinguished road

      0  

    Default 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:

    Code:
    Ext.Loader.setConfig({enabled:true});
    You need to put the above code before your onReady method.
    Last edited by olakara; 1 May 2011 at 11:10 PM. Reason: added explanation
    Thanks and Regards,
    Abdel Olakara.
    [ blog : http://technopaper.blogspot.com ]

  3. #3
    Sencha User amitkahan's Avatar
    Join Date
    Mar 2011
    Location
    Mahuva
    Posts
    18
    Vote Rating
    0
    amitkahan is on a distinguished road

      0  

    Default


    Thanks! Abdel for help, I am experimenting mvc and I am finding ways
    Amit Sidhpura
    Owner, Kahan

    Email ID: amit@kahan.in
    Homepage: www.kahan.in

Similar Threads

  1. Replies: 11
    Last Post: 20 May 2009, 11:46 PM
  2. New Examples at examples.extjs.eu
    By jsakalos in forum Community Discussion
    Replies: 6
    Last Post: 14 May 2008, 8:51 PM
  3. Builder classes/Preconfigured Classes
    By zhiliang in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 7 May 2008, 1:33 AM

Thread Participants: 1

Tags for this Thread