Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    6
    Vote Rating
    0
    RobbeR is on a distinguished road

      0  

    Default ST2 Ext.List does not appear

    ST2 Ext.List does not appear


    Hello again,

    I posted my code snippets to here: http://stackoverflow.com/questions/9966720/sencha-touch-2-my-ext-list-doesnt-appear

    I used this tutorial to create a dummy list: http://docs.sencha.com/touch/2-0/#!/guide/list
    But it doesnt show any data.

    Can anyone help, why?

    Thanks,
    R

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    You reference the store as 'Spots', try using 'ProjectName.store.Spots' instead.

    Also, you shouldn't specify and alias and a xtype. In your case the xtype looks good.

    Let me know if that works.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    6
    Vote Rating
    0
    RobbeR is on a distinguished road

      0  

    Default


    Hi,

    I replaced the following row in 'Inside.spotlist.js':

    store: 'Spots',
    TO
    store: 'ProjectName.store.Spots',

    And removed the alias key, and it still doesnt work, generates the following WARN:
    [WARN][ProjectName.view.Inside_spotlist#applyStore] The specified Store cannot be found



  4. #4
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Field names are lastName and firstName but the tpl references last_name and first_name. I didn't realize you are using the standard MVC structure. The Spots reference may have been correct.

    Sencha Inc

    Jamie Avins

    @jamieavins

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Posts
    6
    Vote Rating
    0
    RobbeR is on a distinguished road

      0  

    Default


    I fixed it, but the problem is still up. Here's my current code:

    http://www.robber.hu/ext/Inside_spotlist.js [placed at the view dir]
    http://www.robber.hu/ext/Spot.js [placed at the model dir]
    http://www.robber.hu/ext/Spots.js [placed at the store dir]

    And here's my app's code:

    Code:
    Ext.require([
        'Ext.viewport.Viewport',
        'Ext.Container',
        'Ext.List',
        'Ext.DataView',
        'Ext.data.Store',
        'Ext.data.*',
        'Ext.util.*'
    ]);
    
    
    
    
    Ext.application({
        name: 'BHere',
        appFolder: APP_URL + "app",
        
        // phoneStartupScreen: 'LOGO.png',
        
        controllers: ['Site_inside'],
        views: ['Inside_spotlist'],
        models: ['BHere.model.Spot'],
        stores: ['BHere.store.Spots'],
        
        launch: function() {
            //bootstrap
           console.log("inner site bootstrap");
           
           //var spotlist = Ext.create("BHere.view.Inside_spotlist");
    
    
            Ext.Viewport.add({
                xclass: 'BHere.view.Inside_spotlist'
            });
            
    
    
           return true;
           
        }
        
    });
    I run out of ideas .. There is only a "scrollable" container, with no data, ut in the tutorial, the narrator has the same code.
    There is no errors or warnings.


    At file http://www.robber.hu/ext/Spots.js , in the line 'model: 'BHere.model.Spot', is it correct? Possibly it's just a reference for the class, not an instance?

    Thanks,
    R

    EDITED: The dom tree does not contains the data 'test' or 'test2', I searched it with a Chrome DOM viewer, so I think this is not a display:none or other dummy problem.

    Here's the result: http://www.robber.hu/ext/result.png

Thread Participants: 1

Tags for this Thread