10 Replies Latest reply on Jul 27, 2009 4:19 AM by Nick Belaevski

    IE8 standards mode, rich:modalPanel cannot be closed

    Andrew May Newbie

      When testing an application with IE8RC1 I found that trying to close a rich:modalPanel causes a JavaScript error.

      You can see this on the live demo:
      http://livedemo.exadel.com/richfaces-demo/richfaces/modalPanel.jsf?c=modalPanel&tab=usage

      The error is at ui.pack.js.jsf at line 903 character 30 (it's so nice to have more meaningful errors in IE), and the message is "Not Implemented":

      if(G.style.removeExpression){G.style.removeExpression("width");
      


      In IE8 standards mode support for expressions has been removed: http://blogs.msdn.com/ie/archive/2008/10/16/ending-expressions.aspx.

      I think this may be an IE bug rather than a Rich Faces bug, because the check for the method (G.style.removeExpression) succeeds, but the call fails with the "Not Implemented" error. I can't find this in the IE8 bug database: https://connect.microsoft.com/IE/Feedback, but when I try to log in to submit a new bug it gives me a 404 error for that same URL (nice work Microsoft).

      Of course the chances of this being fixed in IE8 may be slim, so it might be necessary to work around this.

      Should I submit a bug in JIRA?

      Thanks,
      Andrew