1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    2
    Vote Rating
    0
    jarnott is on a distinguished road

      0  

    Default Unanswered: Problem passing store name as var

    Unanswered: Problem passing store name as var


    This does not work...

    PHP Code:
    Ext.define('GeoCon.view.legislator.List', {
        
    extend'Ext.dataview.List',

        
    id'legislatorList',
        
    mystore'Legislators',
        
    config: {
            
    storethis.mystore,
            
    groupedtrue,
            
    emptyText'Loading list of Legislators...',
            
    itemTpl: [
                
    '<div class="legislator-list-item">',
                    
    '<span class="legislator-pic" style="background-image: url(http://www.govtrack.us/data/photos/{govtrack_id}-50px.jpeg);"></span>',
                    
    '{lastname}, {firstname} {middlename}',
                
    '</div>',
            ]
        }
    }); 

    This works...
    PHP Code:
    Ext.define('GeoCon.view.legislator.List', {
        
    extend'Ext.dataview.List',

        
    id'legislatorList',
        
    mystore'Legislators',
        
    config: {
            
    store:  'Legislators',
            
    groupedtrue,
            
    emptyText'Loading list of Legislators...',
            
    itemTpl: [
                
    '<div class="legislator-list-item">',
                    
    '<span class="legislator-pic" style="background-image: url(http://www.govtrack.us/data/photos/{govtrack_id}-50px.jpeg);"></span>',
                    
    '{lastname}, {firstname} {middlename}',
                
    '</div>',
            ]
        }
    }); 
    It seems to do the call the store properly, but it just does not display the list.
    No errors.
    sencha-touch-2-b3 and sencha-touch-2-b2

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Posts
    2
    Vote Rating
    0
    jarnott is on a distinguished road

      0  

    Default


    This problem also shows up when configuring an xclass and passing the store by var.

    PHP Code:
     items: [
                        {                        
                                
    xclass'GeoCon.view.legislator.List',
                                 
    store:  this.mystore
                          
    }] 
    Makes it difficult to pass in different stores.

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