2 Replies Latest reply on Jul 30, 2009 9:12 AM by L Kr

    rich:tree JS-errors in IE8

    L Kr Newbie

      Hello,

      I'm having a problem with a rich:tree component and IE 8 (german WinXP SP3, native mode):

      When the tree is loaded the folling JS error is shown:


      User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET CLR 2.0.50727)
      timestamp: Thu, 30 Jul 2009 08:16:48 UTC

      'elements' is null or not an object
      line: 10
      character: 45
      Code: 0
      URI: http://localhost:8080/eagle/a4j/g/3_3_1.GAorg/ajax4jsf/javascript/scripts/form.js


      But the tree seems to be rendered correct. After that on every drag'n'drop operation another JS error is shown:

      User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET CLR 2.0.50727)
      timestamp: Thu, 30 Jul 2009 08:17:24 UTC

      unknown runtime error
      line: 120
      character: 1
      Code: 0
      URI: http://localhost:8080/eagle/a4j/g/3_3_1.GAorg.ajax4jsf.javascript.AjaxScript


      And the whole tree disappears. In FF3.5 it works fine.

      Thank you, Lothar

      Note:
      All JS error messages are translated from german. If it helps you, I could also provide the original german messages.

        • 1. Re: rich:tree JS-errors in IE8
          Nick Belaevski Master

          Hi Lothar,

          I remember that we've fixed the issue, but can't remind exact version. Please try 3.3.1.GA or 3.3.2-SNAPSHOT. If you cannot upgrade, then forcing IE to run in IE7 mode will fix the issue - there's solution already described on wiki in context of rich:modalPanel component as the same problem was detected there.

          • 2. Re: rich:tree JS-errors in IE8
            L Kr Newbie

            I'm already using version 3.3.1 GA. But I'll try a 3.3.2-SNAPSHOT. Could you give me a hint how to configure it as dependy in Maven ? For the official relase it's clear to me but how can I get it working for the snapshot ?

            I've also tried the IE7-mode before - but with no success.

            Thank you
            Lothar