Ext.define('erp.view.fa.fp.Borrowing',{ extend: 'Ext.Viewport', layout: 'anchor', /*hideBorders: true, */ initComponent : function(){ var me = this; Ext.apply(me, { items: [{ anchor: '100% 100%', xtype: 'erpFormPanel', saveUrl: 'fa/fp/saveBorrowing.action', deleteUrl: 'fa/fp/deleteBorrowing.action', updateUrl: 'fa/fp/updateBorrowing.action', auditUrl: 'fa/fp/auditBorrowing.action', resAuditUrl: 'fa/fp/resAuditBorrowing.action', submitUrl: 'fa/fp/submitBorrowing.action', resSubmitUrl: 'fa/fp/resSubmitBorrowing.action', getIdUrl: 'common/getId.action?seq=CreditManagement_SEQ', keyField: 'cm_id', statusField: 'cm_statuscode' }] }); me.callParent(arguments); } });