1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    93
    Vote Rating
    0
    vijayakumar84 is on a distinguished road

      0  

    Default Unanswered: Layout failed error in extjs4.1

    Unanswered: Layout failed error in extjs4.1


    Hi,
    I am adding view in app.js using alias name but am getting layout failed error.I will post my code below
    This is my app.js
    Code:
    Ext.application({   requires:['Ext.container.Viewport','CitiInviewNestJson.view.Revenue'],	
         name: 'CitiInviewNestJson',
        controllers: ['Main'],
        views: ['Revenue'],
      launch : function() {
    		Ext.create('Ext.container.Viewport', {
    			layout : 'vbox',
    			overflowY : 'scroll',
    			width:'100%',
    			height:'100%',
    			
    		 items : [
    		 
    		 {
    		  xype:'revenue',
    		  width:'50%',
    		  height:'50%'
    		  
    		 }
    	 ]});
    	
    	 }
    	 	
    
    
    });

    This is my revenue.js

    Code:
    Ext.define('CitiInviewNestJson.view.Revenue', {
       renderTo: Ext.getBody(),
     extend : 'Ext.panel.Panel',
    alias: 'widget.revenue',
      layout: 'vbox',
    
    
      items : [
      {
        xtype:'combo',
     	minWidth:50,
      	minHeight:30,
       										
    	},
    	
      {
        xtype:'combo',
    	minWidth:50,
      	minHeight:30,
       									
    	}
    	]});

    Thanks

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Posts
    93
    Vote Rating
    0
    vijayakumar84 is on a distinguished road

      0  

    Default


    I had solved the problem .In app.js I had typed xype instead of xtype

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