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.ChSettlementPayAppEdit', { layout: 'border', region: 'center' }); var view = new Ext.Viewport({ layout: 'border', renderTo: 'viewport', border: false, items: [ panelEdit ] }); });