This content has been marked as final.
Show 1 reply
-
1. Re: dynamically create autocomplete
eunnini Jun 24, 2011 4:13 PM (in response to eunnini)This is very frustrating, I'm trying to migrate application to rich 4, but with this I have no success.
I've trued component statically on xhtml page and it works
<rich:autocomplete popupClass="sugPopup" value="#{helloBean.input1}" minChars="3" autocompleteMethod="#{helloBean.autocomplete}"> </rich:autocomplete>
But, if I add binding then autocomplete not working
<rich:autocomplete popupClass="sugPopup" binding="#{helloBean.auto}" value="#{helloBean.input1}" minChars="3" autocompleteMethod="#{helloBean.autocomplete}"> </rich:autocomplete>
Is it bug?
It can be easily reproduced by adding binding attribute in showcase example
in clientAjax-sample.xhtml add this
binding="#{autocompleteBean.autoc}"
and in java class AutocompleteBean add attribute and getters and setters
private UIAutocomplete autoc;