列表页面定义是这样的:
function setUpFormWin() {
  var curFormWin;
  this.showMofifyUserWin = function(record) {
    var Id = record.data.id;
    var editpage = './jsp/extpages/user_edit.jsp?type=modify&ID=' + Id;
    var window = this.createWin("winedit", "修改", editpage, function() {
      userGrid.gridRefresh();
    }, 611, 323);
    window.show();
  };
  this.createWin = function(winId, winTitle, iframePage, closeFun, width, height) {
    var formWin = Ext.getCmp(winId);
      if (!formWin) {
        formWin = new top.Ext.Window( {
          id : winId,
          title : "用户列表-" + winTitle,
          width : width,
          height : height,
          maximizable : false,
          modal : true,
          closeFunction : function() {
            this.close()
          },
          reloadFunction : closeFun,
          closeAction : 'close',
          html : "<iframe width='100%' height='100%' frameborder='0' src='" + iframePage + "'>__tag_351$45_"
        });
        this.reloadeData = closeFun;
      }
      curFormWin = formWin;
      return formWin;
    };
    this.reloadeData = function() {
  };
  this.close = function() {
    if (curFormWin) {
      curFormWin.close();
    }
  };
}
弹出页面中按钮时这样的
text : '关闭',
iconCls : 'close',
handler : function() {
  window.parent.formWin.reloadeData();
  window.parent.formWin.close();
}
在以前的项目里面直接拷贝过去就可以用了,不知道什么我现在带的这个项目里一致报错。我自己也看了下,是报formWin未找到。ExtJS