I'm using PrimeFaces autocomplete with pojos, that shows results of a search. My code as follows:
autocomplete
<p:autoComplete id="searchBar" completeMethod="#{search.fetchSuggestions}" value="#{search.selectedSuggestion}" ...
I'm using netbean 7.0.1, glassfish 3.1, primefaces 2.2.1. This is view
<ui:define name="content"> <h:form enctype="multipart/form-data"> ...