I got the folowing error when typing some characters in the inputBox binded to suggestionBox :
javax.el.PropertyNotFoundException: /testingAjax/editViewTest.xhtml @42,53 value="#{suggest.text}": Property 'text' not found on type java.lang.String
my code looks like :
<h:inputText value="#{editViewBean.suggestCurrentValue}" id="suggest" />
<rich:suggestionbox for="suggest" suggestionAction="#{editViewBean.autocomplete}" var="suggest">
<h:column>
<h:outputText value="#{suggest.text}"/>
</h:column>
</rich:suggestionbox>
Does anyone know the problem?
and paste autocomplete code snippet please.