0 Replies Latest reply: Feb 7, 2013 7:40 AM by User_Sep RSS

    Exit button Handling.

    User_Sep
      Dear all,

      Am using Jdev(11.1.1.5.0). This is my scenario, Consider am having a Exit button in which, I ve written the below code.
          FacesContext facesContext = FacesContext.getCurrentInstance();
          org.apache.myfaces.trinidad.render.ExtendedRenderKitService service =        org.apache.myfaces.trinidad.util.Service.getRenderKitService(facesContext,ExtendedRenderKitService.class);
          service.addScript(facesContext, "window.close();window.opener.location.href = window.opener.location.href;");
      This code works fine in Firefox browses, whereas it doesn't support for other major browsers such Chrome, Safari, IE, etc. How can I fix this issue. Pls suggest me some ideas.

      -raka