This content has been marked as final.
Show 2 replies
-
1. Re: Problem opening the suggestion box when clicking inside
ilya_shaikovsky Nov 13, 2009 8:55 AM (in response to dondera)http://livedemo.exadel.com/richfaces-demo/richfaces/suggestionBox.jsf
second sample contains JS API call you need. -
2. Re: Problem opening the suggestion box when clicking inside
dondera Nov 16, 2009 8:36 AM (in response to dondera)That was what I was looking for. Thanks.
But I encountered another issue.
I am using jQuery to trigger a click event in the inputText (when some radio button is selected) and I am using what you suggested to open the suggestion box.
#{rich:component('autocompleteUserInputSuggestion')}.callSuggestion(true);
The problem is that when clicking the radion button first (without first clicking the inputText) I am getting a JS error:
document.getElementById("popup:autocompleteUserInputSuggestion").component is undefined
Is there something else I have to do ?