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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar