Ext.define('erp.view.fa.fp.FixedCharge',{ 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/saveFixedCharge.action', deleteUrl: 'fa/fp/deleteFixedCharge.action', updateUrl: 'fa/fp/updateFixedCharge.action', auditUrl: 'fa/fp/auditFixedCharge.action', resAuditUrl: 'fa/fp/resAuditFixedCharge.action', submitUrl: 'fa/fp/submitFixedCharge.action', resSubmitUrl: 'fa/fp/resSubmitFixedCharge.action', getIdUrl: 'common/getId.action?seq=FixedCharge_SEQ', keyField: 'fc_id', }] }] }); me.callParent(arguments); } });