Ext.define('erp.view.fa.fix.DepreciationReduction',{ extend: 'Ext.Viewport', layout: 'fit', hideBorders: true, initComponent : function(){ var me = this; Ext.apply(me, { items: [{ layout: 'anchor', items: [{ id:'DepreciationReductionView', confirmUrl:'fa/fix/confirmDepreciationReduction.action', xtype: 'DepreciationReduction', anchor: '100% 100%', }] }] }); me.callParent(arguments); } });