1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    73
    Vote Rating
    -1
    bstras21 is an unknown quantity at this point

      0  

    Default Launch function

    Launch function


    Hello, I am trying to reference one of my stores in my controller and it seems it's not loading at the time of the call. I am using

    Code:
    console.log(Ext.getStore('MyStore').count());
    but the result is 0

    If I tie it to a button handler an click it I get 10, so this is telling me it is not loaded yet in the controller. I looked at the docs and it seem there is a launch function that executes after the application, however this code does not run, any thought on how to access my store?

    Code:
     Ext.define('tapp.controller.MyController', {
            extend: 'Ext.app.Controller',
            views: ['MyApp'],
            stores: ['MyStore'],
            launch: function (){
                console.log('LLLLAAAUNCHEDDDD');
            },

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Posts
    73
    Vote Rating
    -1
    bstras21 is an unknown quantity at this point

      0  

    Default Figured it out!

    Figured it out!


    Here is the function I used:

    Code:
            punchStore = this.getMyStoreStore();
    
                punchStore.load({
                scope   : this,
                callback: function(records, operation, success) {
                    console.log(records);
                    
                }
            });

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