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

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

    Dimka Noneen Newbie


      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);
      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