window.document.getElementById("parent.mainForm:Refilsh").click();
你试试这样

解决方案 »

  1.   

    关闭前调用刷新。
    function closeWindow() {
     //刷新 父页面 
          
    close();
     
    }
      

  2.   

    你在父页面打开的时候,写了一个function openWin() {
      window.showModalDialog....;
      或者window.open...  //子窗口关闭后会执行此处,在这儿加上刷新父页面即可
    }
      

  3.   

    window.close();
    window.opener.location.reload();
    这样看看行不行