Hello,
i want the user to only select valid values from autocomplete, so u use forceSelection
=true.
Code: Select all
<p:autoComplete forceSelection="true" value="#{orderingSearch.orderingNum}" ....
So when the user types in an invalid value, it is deleted from the autocomplete inpt field. problem is that setOrderingNum is invoed always, also when the value is incorrect. So actually the whole autocomplete is useless than. Am i doing something wrong?
thanks!
PS: i use primefaces 2.2.1, com.sun.faces.jsf-api 2.1.2