extjs中的Panel控件,当点击按钮后panel2的数据让它更新。页面刚打开的时候不需要panel2。当点击完查询按钮后触发加载。
我要刷新的panel2是放在p里。如下代码    var p = new Ext.Panel({
     id:  "panel2",   
        title:'要更新的报表', frame:true,
        layout: 'form', width:850,
        items:[p_form,panel2],
        renderTo: Ext.getBody()
    });
var panel2 = new Ext.Panel( {   
    id:  "panel2",   
    fitToFrame: true, 
    width:850,
    height:650,以下是当触发点击事件
search: function(start) {
var appname = Ext.getCmp('appSystem').getValue();
Ext.getCmp('panel2').src = "http://localhost:8080/uosp/frameset?__report=reports/appsystem.rptdesign&__parameterpage=false&appname="+appname+"&__format=HTML";然后想让那个panel2里的内容更新。后面的代码怎么写?用的是extjs2.0extjsPanel报表