10 Replies Latest reply on Mar 11, 2009 8:43 PM by nbelaevski

    cmdButtom, modalPanel, response = IE7 memory leak at the sec

      Hi!

      I have a button in h:form:

      <a4j:commandButton value="1" onclick="Richfaces.showModalPanel('2');"/>


      ModalPanel h:commandButton action:
      FacesContext faces = FacesContext.getCurrentInstance();
      HttpServletResponse response = (HttpServletResponse)faces.getExternalContext().getResponse();
      ...............
      response.getOutputStream().write(bytes, 0, bytes.length);
      response.getOutputStream().flush();
      faces.responseComplete();
      
      that''s ok! It works many times if I press button on modalPanel, but when I hide modalPanel( onclick="Richfaces.hideModalPanel('2')
      ), the next click will cause a memory leak and modalpanel will not apear again.
      
      RF: 3.3.0
      IE: 7.0.5730.13
      JBoss 4.2.1: Mojarra 1.2_04-b16-p02