Ext.define('erp.view.fa.fp.OtherIncomeBill',{ 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/saveOtherIncomeBill.action', deleteUrl: 'fa/fp/deleteOtherIncomeBill.action', updateUrl: 'fa/fp/updateOtherIncomeBill.action', auditUrl: 'fa/fp/auditOtherIncomeBill.action', resAuditUrl: 'fa/fp/resAuditOtherIncomeBill.action', submitUrl: 'fa/fp/submitOtherIncomeBill.action', resSubmitUrl: 'fa/fp/resSubmitOtherIncomeBill.action', getIdUrl: 'common/getId.action?seq=OTHERINCOMEBILL_SEQ', keyField: 'oib_id', statusField: 'oib_statuscode' }] }] }); me.callParent(arguments); } });