Results 1 to 7 of 7

Thread: Stores do not load with default build

  1. #1
    Ext JS Premium Member Artistan's Avatar
    Join Date
    Apr 2007
    Location
    MN
    Posts
    144
    Vote Rating
    0
      0  

    Default Stores do not load with default build

    This is an example of app where stores do not autoload....
    http://visits.benint.net/visits/touch/designer.html


    I added this to an index.js to show how "creating" the stores will then autoload...
    Code:
            // need to create the stores so they exist in the store manager before init
            Ext.create('BenAdmin.store.StoreVisit');
            Ext.create('BenAdmin.store.StoreVisitsSites');
            Ext.create('BenAdmin.store.StoreVisitsStats');
            Ext.create('BenAdmin.store.StoreVisitsList');
    This can be seen here....
    http://visits.benint.net/visits/touch/

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    Stores should be automatically added to the Application Node now as they are created.
    Aaron Conran
    @aconran

  3. #3
    Ext JS Premium Member Artistan's Avatar
    Join Date
    Apr 2007
    Location
    MN
    Posts
    144
    Vote Rating
    0
      0  

    Default

    This is difficult to test with the warnings and TypeError I am still getting...

    http://www.sencha.com/forum/showthre...odels&p=724005

  4. #4
    Ext JS Premium Member Artistan's Avatar
    Join Date
    Apr 2007
    Location
    MN
    Posts
    144
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by aconran View Post
    Stores should be automatically added to the Application Node now as they are created.
    Are you talking about the Designer interface?
    In Designer build 257 yes, they are auto added to the Application config.
    But if you change the class name, then they are wrong again.

  5. #5
    Ext JS Premium Member Artistan's Avatar
    Join Date
    Apr 2007
    Location
    MN
    Posts
    144
    Vote Rating
    0
      0  

    Default

    Ok, in build 257.
    Change Store classname and it changes in the application config.
    Change Model or View classname and it does NOT change in the application config.

  6. #6
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
      0  

    Default

    This is fixed in later builds. The current build is 268.

    Thanks

  7. #7
    Ext JS Premium Member Artistan's Avatar
    Join Date
    Apr 2007
    Location
    MN
    Posts
    144
    Vote Rating
    0
      0  

    Default

    Looks good, thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •