I want to show a primefaces overlay with search suggestions using p:ajax
like following:
<p:inputText value="#{bean.input}" required="true"
validatorMessage="Add at least 3 characters">
<f:validateLength minimum="3" maximum="64"/>
<p:ajax event="keyup" delay="200" process="@this"
listener="#{bean.createSuggestions()}"
update="overlay"
oncomplete="showOverlay()"/>
</p:inputText>
The problem is, that no validation takes place.
I could use javascript onstart handler and check input again as a workaround.