1 Reply Latest reply on May 28, 2009 9:49 AM by Nils C.

    Problems with suggestionbox and Internet Explorer / IE

    Nils C. Newbie

      Hi folks!

      I am using the richfaces suggestionbox in my web application to autocomplete user input.

      This is my page source:

      <h:inputText value="#{backing.interests}" id="suggest"/>
      <rf:suggestionbox for="suggest" suggestionAction="#{backing.getInterestsList}}" var="suggest">
       <h:outputText value="#{suggest}"/>

      My backing bean returns a list of strings. In Firefox everything works fine.

      But in IE7 and IE8 it doesn't work. The suggestions appear under my input field but if I select one of the suggested items nothing happens and the browser throws a JavaScript error:

      "internet explorer object does not support this property or method"

      Line: 29
      Character: 1495
      Code: 0
      URI: http://localhost:8080/my-project/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/scriptaculous/effects.js.c1

      So it seems to be a scriptaculous problem? The line in effects.js seems to be this one:


      Does anybody know how to solve this problem?

      Many thanks! :-)