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.

  1. #1
    Banned
    Join Date
    Mar 2012
    Posts
    30
    Vote Rating
    1
    BackgroundTeam is on a distinguished road

      0  

    Default NavigationView and Template

    NavigationView and Template


    I have an issue with a navigationview in which there is a button with a handler, and then it's supposed to be shown a template in the detail-view of the navigationview.

    Nothing happens. I have tried also to load an XTemplate outside the handler.

    Thank you very much in advance.

    Code:
    xtype: 'navigationview',
        items: [{
            title: 'First',
            items: [{
                xtype: 'button',
                text: 'Discover!',
                handler: function(button) {
                var view = button.up('navigationview');
                            // ...
                // Here I load vars from another store in order to fill mi storemiResultado
                // This works perfectly because I have checked in the console.log
                storemiResultado.add({ID: miId, Title: miTitulo, Director: miDirector});
    view.push({
        xtype: 'container',
        config: {
        store: storemiResultado,
        tpl: [
                    '<div class="header">',
                        '<div>Hola</div>',
                        '<h3>{ID} {Title}</h3>',
                    '</div>',
                    '<p>{Director}</p>'
                ]
    }
    });

  2. #2
    Banned
    Join Date
    Mar 2012
    Posts
    30
    Vote Rating
    1
    BackgroundTeam is on a distinguished road

      0  

    Default


    Anyone?

Tags for this Thread