Java EEExt.Window如何嵌入图片?
var win = Ext.create('Ext.Window',{
width:800,
height:600,
x:50,
y:50,
plain: true,
//指示标题头的位置,分别为 top,bottom,left,right,默认为top
headerPosition: 'top',
layout: {
type: 'table',
columns: 1
},
title: '图片浏览',
defaults:{frame:true,width:400,height:100},
items:[{title:'', html: '<img width="780" height="580" src="<%=basePath%>goodsimages/'+AGoodsID+'.jpg"/>', rowspan: 1 ,height:800,width:600}]
});
win.show();
//目前不知道要怎么传入参数AGoodsID
//请高手们不吝赐教!谢谢!