如题 ,下面是代码 id:'01',
                        title: '系统参数信息',
                        defaults:{autoScroll:true},
                        header:false,
                        autoHeight:true,// 自动加载
//     autoLoad:{url:'./ceshi.jsp',scripts:true},
// url : './ceshi.jsp',
//                         listeners: {activate: function(tab){alert('系统参数信息');}},                         html : '<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="os_sys_const.action?t=1&'+ escape(new Date()) +'"></iframe>',
// src="mFetion.asp?t=1&'+ escape(new Date()) +
listeners:{// 添加监听器,点击此页面的tab时候要重新加载(刷新功能)
      activate:function(){
       this.getUpdater().refresh(); 
//        Ext.MessageBox.alert("提示","系统参数信息");
      }
    },
    border:false

解决方案 »

  1.   

    getActiveTab()listeners:{// 添加监听器,点击此页面的tab时候要重新加载(刷新功能)
                                     activate:function(){
                                          this.getActiveTab().refresh(); //                                      Ext.MessageBox.alert("提示","系统参数信息");
                                     }
                                }
      

  2.   


    嗯 就不会进入到activate这个方法 也没有refresh()这个方法
      

  3.   

       1. listeners:{  
       2.                                                             tabchange:function(_tab, _pan) {  
       3.                                                                 _pan.doLayout();  
       4.                                                             }  
       5.                                                         }