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:column>
<h:outputText value="#{suggest}"/>
</h:column>
</rf:suggestionbox>
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:
effect.element.forceRerendering();
Does anybody know how to solve this problem?
Many thanks! :-)
Cheers,
Nils