Ext.BLANK_IMAGE_URL = '../../TruckMng/Content/Images/s.gif'; var panelEdit = null; Ext.onReady(function () { Ext.QuickTips.init(); Ext.form.Field.prototype.msgTarget = 'side'; panelEdit = Ext.create('Shipping.MsOpTruckBulkCtnEdit', { id:'OpTruckBulkCtnEdit', layout: 'border', region: 'center' }); var view = new Ext.Viewport({ layout: 'border', renderTo: 'viewport', border: false, items: [ panelEdit ] }); }); function getSaved() { return panelEdit.getIsModify(); }