getAsObject « PrimeFaces « JSF Q&A





1. What value to convert in getAsObject() & getAsString() methods of JSF Converter class    stackoverflow.com

I'm using PrimeFaces autocomplete with pojos, that shows results of a search. My code as follows:

 <p:autoComplete id="searchBar" completeMethod="#{search.fetchSuggestions}" value="#{search.selectedSuggestion}" 
         ...

2.  NullPointerException getAsObject method (Fixed)    stackoverflow.com

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">
  ...