1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    12
    Vote Rating
    0
    sjoshi is on a distinguished road

      0  

    Default Getting Error "Layout run failed"

    Getting Error "Layout run failed"


    I'm unable to load child containers (main panel loads fine) and get this error. I ran the page thru PageAnalyzer but not sure what to check.

    PageAnalyzer.jpg

    Any pointers are appreciated.

    Sunit

  2. #2
    Sencha User
    Join Date
    Mar 2013
    Posts
    12
    Vote Rating
    0
    sjoshi is on a distinguished road

      0  

    Default Found the problem

    Found the problem


    I found the problem and it was in my viewport.js. What I was missing was the layout: 'fit' line for the panel.

    Still Sencha needs to clean this up and output more descriptive message on where/which component the problem is. For first time users like me, this can be frustrating & demotivating to continue to use the framework.


    Code:
    Ext.define('MyApp.view.Viewport',{    extend      : 'Ext.container.Viewport',
        requires	: [
    		'Ext.tab.Panel',
    		'Ext.window.MessageBox'
        ],
        
        layout		: 'fit',
    
    
        initComponent   : function(){
            var me = this;
            
            me.items = [{
    			xtype : 'panel',
    			layout: 'fit', //I was missing this line
    dockedItems : [{
    rgds
    Sunit

Tags for this Thread

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