This content has been marked as final.
Show 1 reply
-
1. Re: rich:suggestionBox and empty query
ilya_shaikovsky May 12, 2010 7:51 AM (in response to volothamp)seems something like that should works
<h:inputText value="#{capitalsBean.capital}" id="text" styleClass="myinput" onkeyup="#{rich:component('suggestionBoxId')}.callSuggestion(true)"/> <rich:suggestionbox id="suggestionBoxId" for="text" tokens=",[]"
additionally it's maybe could be nessesary to check if there are only spaces in input o r text with some space in order to pass param properly. but I think you could add such js.