Threaded View

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    7
    Answers
    1
    Vote Rating
    0
    antiplaka is on a distinguished road

      0  

    Default Answered: Overrideing Ext.data.Store methods breaks functionality.

    Answered: Overrideing Ext.data.Store methods breaks functionality.


    Good day. I ran into some trouble with Ext.data.Store class. Maybe i've got wrong idea about the Class system?

    I want to do pre-processing of incoming data.
    There is my code :

    Code:
        Ext.define('App.store.PagesStore', {
            extend  : 'Ext.data.Store',
            requires: ['App.model.Page'],
    
            config: {
                model     : 'App.model.Page',
                data        : pages,
            },
    
            constructor: function(config) {
                this.callParent(config);
            },
    
            applyData : function(data) {
                this.callParent(data);
            },
        });
    Overriding the constructor makes Ext.StoreManager fail with lookup and overridden applyData passes only one record to the store.

  2. Passing arguments to parent's function seems to do the trick :

    Code:
        Ext.define('App.store.PagesStore', {
            extend  : 'Ext.data.Store',
            requires: ['App.model.Page'],
    
            config: {
                model     : 'App.model.Page',
                data        : pages,
            },
    
            constructor: function(config) {
                 this.callParent(arguments);
             },
     
             applyData : function(data) {
                 /* do the data manipulations */
                 this.callParent(arguments);
             },
        });

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