new Ext.Panel({
id : 'imagePanel',
region : 'center',
layout: 'fit',
border : false,
autoScroll : true,
modal:true,
html : "<img height = " + height + " src" + Xy.Consts.AppBase + "attachMgmt/viewPhotoFile.do?attachmentId=" + dataId + ">" //指定url路径
})
在别的地方获取htm中这个img标签对象,