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
    Ext User twinkle's Avatar
    Join Date
    Aug 2008
    Location
    Ankara,Turkey
    Posts
    50
    Vote Rating
    0
    twinkle is on a distinguished road

      0  

    Question Can you help me

    Can you help me


    Hi everybody,
    I have a problem and want you to help me.
    I have a js file which contains:tabpanel(center),west(tree),tbar(north),bbar(south).
    I try to change only the tabpanel's tab when I click the tree leaves.
    Now on everything is ok. When I click I call a class which I created before.
    However, new tab only shows the title. My grid panel and elements are not loading the content of my new tab. Is it clear?
    Since my code is very long I did not attach anything.
    Thanks...

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,607
    Vote Rating
    580
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Can't help if you don't post your code. If it's really long, try creating a smaller test case that illustrates your issue.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext User twinkle's Avatar
    Join Date
    Aug 2008
    Location
    Ankara,Turkey
    Posts
    50
    Vote Rating
    0
    twinkle is on a distinguished road

      0  

    Default


    OK then. This is main .js file:
    Code:
    tree.getSelectionModel().on("selectionchange", function(selModel, node){
            if (node.leaf) {
                var newTab;
                switch (node.attributes.url) {   
                    case 'listGroupsByZone.html':
                        newTab = new Ext.ux.ListGroupsByZone();                    
                        break;
                        
                }
                centerPanel.add(newTab).show();        
            }
        }, this, true);
    Ext.ux.ListGroupsByZone is:

    Code:
     var zonePanel = new Ext.FormPanel({
            region: 'center',
            //baseCls : 'x-plain',
            frame: true,
            labelWidth: 150,
            labelAlign: 'right',
            items: [{
                title: langResStr_selectZoneAndSystemGroup,
                frame: true,
                layout: 'column',
                items: [{
                    columnWidth: .5,
                    layout: 'form',
                    border: false,
                    items: [{
                        xtype: 'combo',
                        id: 'cmbZone',
                        fieldLabel: langResStr_zone,
                        listWidth: '100% -10',
                        mode: 'local',
                        store: [[1, 'Item 1'], [2, 'Item 2'], [3, 'Item 3'], [4, 'Item 4']],
                        triggerAction: 'all',
                        lazyRender: true,
                        anchor: '100%'
                    }]
                }, {
                    columnWidth: .5,
                    layout: 'form',
                    border: false,
                    items: [{
                        xtype: 'checkbox',
                        id: 'chkSystem',
                        fieldLabel: langResStr_systemGroup,
                        anchor: '50%'
                    }],
                }]
            }, {
                bodyStyle: 'padding: 0px 0px 3px 0px'
            }, gridFnc()],
            buttons: [{
                id: 'btnOk',
                text: langResStr_ok,
                anchor: '50%'
            }],
            margins: '10px 10px 10px 10px'
        });
        return zonePanel;
    }
    and
    Ext.ux.ListGroupsByZone = Ext.extend(Ext.Panel, {
        id: 'listGroupsByZoneCenterPanel',
        frame: true,
        title: langResStr_groupsByZone,
        closable: true,
        initComponent: function(){
            var zonePanel = zoneFnc();
            Ext.apply(this, {
                items: new Ext.Panel({
                    title: langResStr_groupsByZone,
                    layout: 'border',
                    items: [zonePanel]
                }),
                margins: '3px 3px 3px 3px'
            });
            Ext.ux.ListGroupsByZone.superclass.initComponent.apply(this, arguments);
        }
    });
    Is it enough

Thread Participants: 1