0 Replies Latest reply on Apr 12, 2013 12:55 PM by fischman_98

    RichFaces incompatibility with conditional comments like <!-- [if IE]>

    fischman_98

      To All,

       

      I see this has been discussed, but I have not found a resolution.  Unfortunately, I'm still using version 3.1.6 GA (I'm putting a new face on an old app!)

       

      Basically, this code;

       

      <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->

      <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->

      <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->

      <!--[if gt IE 8]><!-->

       

      is causing <a4j:commandButton> to produce this javascript error in IE8;

       

      Message: 'A4J' is undefined
      Line: 74
      Char: 1
      Code: 0
      URI: http://localhost/ngsimages/test.jsf

       

      When this code is removed, all is well for richfaces, but not the layout!

       

      Please let me know if we have a solution for this and/or a work-around.

       

      Thanks.