1. #1
    Sencha Premium Member ajaxvador's Avatar
    Join Date
    Nov 2007
    Location
    PARIS, FRANCE
    Posts
    206
    Vote Rating
    0
    ajaxvador is on a distinguished road

      0  

    Default Answered: portal in tabpanel (urgent)

    Answered: portal in tabpanel (urgent)


    hello,

    Any examples for portal in tabpanel without classes.js

    many thanks
    Vador

  2. My word! No one ever answered this??? Sad...
    Anyhow, here is what i did..!

    I simply included the files INSIDE the classes folder (without the classes.js)
    Then I added a normal tab panel and I simply added the items as follows. I am no fundi, so i am pretty sure there are easier ways, but here it goes:


    PHP Code:
    var portalContent = [
                {
                    
    id'app-portal',
                    
    xtype'portalpanel',
                    
    border0,
                    
    items: [{
                        
    items: [{
                            
    title'Grid Portlet',
                            
    itemsExt.create('Ext.app.GridPortlet')
                        },{
                            
    title'Portlet 2',
                            
    html'<div class="portlet-content">fgfgfegt</div>'
                        
    }]
                    },{
                        
    items: [{
                            
    title'Portlet 3',
                            
    html'<div class="portlet-content">fgfgfegt</div>'
                        
    }]
                    },{
                        
    items: [{
                            
    title'Stock Portlet',
                            
    itemsExt.create('Ext.app.ChartPortlet')
                        }]
                    }]
                }
            ];
            
            
            
    me.down('#tabDashboard').add({
                
    id'app-viewport',
                
    xtype'panel',
                
    border0,
                
    layout'fit',
                
    items: [
                        
    portalContent
                    
    ]
                
            }); 

    Hope this helps...! Also if anyone out there has easier ways or rather better ways, please contribute to this..!

    All the best...
    Mihai

  3. #2
    Sencha User mihaip007's Avatar
    Join Date
    Feb 2008
    Location
    Pretoria, South Africa
    Posts
    190
    Answers
    1
    Vote Rating
    0
    mihaip007 is on a distinguished road

      0  

    Default


    My word! No one ever answered this??? Sad...
    Anyhow, here is what i did..!

    I simply included the files INSIDE the classes folder (without the classes.js)
    Then I added a normal tab panel and I simply added the items as follows. I am no fundi, so i am pretty sure there are easier ways, but here it goes:


    PHP Code:
    var portalContent = [
                {
                    
    id'app-portal',
                    
    xtype'portalpanel',
                    
    border0,
                    
    items: [{
                        
    items: [{
                            
    title'Grid Portlet',
                            
    itemsExt.create('Ext.app.GridPortlet')
                        },{
                            
    title'Portlet 2',
                            
    html'<div class="portlet-content">fgfgfegt</div>'
                        
    }]
                    },{
                        
    items: [{
                            
    title'Portlet 3',
                            
    html'<div class="portlet-content">fgfgfegt</div>'
                        
    }]
                    },{
                        
    items: [{
                            
    title'Stock Portlet',
                            
    itemsExt.create('Ext.app.ChartPortlet')
                        }]
                    }]
                }
            ];
            
            
            
    me.down('#tabDashboard').add({
                
    id'app-viewport',
                
    xtype'panel',
                
    border0,
                
    layout'fit',
                
    items: [
                        
    portalContent
                    
    ]
                
            }); 

    Hope this helps...! Also if anyone out there has easier ways or rather better ways, please contribute to this..!

    All the best...
    Mihai

  4. #3
    Sencha Premium Member ajaxvador's Avatar
    Join Date
    Nov 2007
    Location
    PARIS, FRANCE
    Posts
    206
    Vote Rating
    0
    ajaxvador is on a distinguished road

      0  

    Default work fine

    work fine


    work fine
    many thanks my friend
    +1 for you
    Vador

Thread Participants: 1

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