Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2009
    Posts
    47
    Vote Rating
    1
    uzver is on a distinguished road

      0  

    Default [FIXED] AbstractStore get model name from class definition

    [FIXED] AbstractStore get model name from class definition


    For correct defining new class store:
    Code:
    Ext.define('cl.stores.TestStore', {
        singleton: true,
        extend:'Ext.data.Store',
        requires: ['cl.models.TestModel'],
        model: 'cl.models.TestModel'
    }, function() {
        Ext.regStore('cl.stores.TestStore', cl.stores.TestStore);
    });
    need add to AbstractStore.js:211
    from:
    Code:
    me.model = Ext.ModelMgr.getModel(config.model);
    to:
    Code:
    me.model = Ext.ModelMgr.getModel(config.model || me.model);

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,795
    Vote Rating
    602
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Agreed, makes sense.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. Replies: 0
    Last Post: 21 Mar 2011, 12:19 PM
  2. Standard class definition patterns
    By shousper in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 16 Mar 2011, 4:47 PM
  3. Replies: 2
    Last Post: 21 Nov 2010, 4:06 PM
  4. How to force specific class definition?
    By dbassett74 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 28 Jun 2009, 2:57 PM
  5. [Grid] TD's class (or css) Definition in ColumnModel?
    By Arkilus in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 3 Jun 2007, 3:41 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi