Ext.define('erp.view.fa.fp.FixedIncome',{ extend: 'Ext.Viewport', layout: 'fit', hideBorders: true, initComponent : function(){ var me = this; Ext.apply(me, { items: [{ layout: 'anchor', items: [{ xtype: 'erpFormPanel', anchor: '100% 100%', saveUrl: 'fa/fp/saveFixedIncome.action', deleteUrl: 'fa/fp/deleteFixedIncome.action', updateUrl: 'fa/fp/updateFixedIncome.action', auditUrl: 'fa/fp/auditFixedIncome.action', resAuditUrl: 'fa/fp/resAuditFixedIncome.action', submitUrl: 'fa/fp/submitFixedIncome.action', resSubmitUrl: 'fa/fp/resSubmitFixedIncome.action', getIdUrl: 'common/getId.action?seq=FixedIncome_SEQ', keyField: 'fi_id', }] }] }); me.callParent(arguments); } });