title: Not able to select any item from SelectOneMenu
body: <p>In my implementation, the select menu appears with populated value. But, if i selected any item from the menu, the select menu not setting the value and reset to default one.</p>
  
  <p>Convertor:</p>
  
  <pre><code>    package com.papar.common.converter;
  
      import javax.faces.application.FacesMessage;
      import javax.faces.bean.ManagedBean;
      import javax.faces.bean.RequestScoped;
      import javax.faces.component.UIComponent;
      import javax.faces.context.FacesContext;
      import javax.faces.convert.Converter;
      import javax.faces.convert.ConverterException;
      import javax.inject.Inject;
  
      import org.springframework.stereotype.Component;
  
      import com.papar.common.domain.Manufacturer;
      import com.papar.common.repository.ManufacturerRepository;
  
      @Component
      @ManagedBean
      @RequestScoped
      public class ManufacturerConverter implements Converter {
  
          @Inject
          private ManufacturerRepository repository;
  
          @Override
          public Object getAsObject(FacesContext context, UIComponent component, String value) {
              if (value == null || value.isEmpty()) {
                  return null;
              }
  
              try {
                  return repository.getById(Integer.valueOf(value));
              } catch (Exception e) {
                  throw new ConverterException(new FacesMessage(String.format("Cannot convert %s to User", value)), e);
              }
          }
  
          @Override
          public String getAsString(FacesContext context, UIComponent component, Object value) {
              if (!(value instanceof Manufacturer)) {
                  return null;
              }
  
              return String.valueOf(((Manufacturer) value).getId());
          }
  
          // ...
      }
  </code></pre>
  
  <p>JSF:</p>
  
  <pre><code>       &lt;p:column&gt;Manufacturer&lt;/p:column&gt;
                                 &lt;p:column&gt;
                                    &lt;p:selectOneMenu  converter="com.apt.papar.converter.ManufacturerConverter" value="#{brandBean.manufacturer}"&gt;
                                       &lt;f:selectItem itemLabel="Select Manufacturer" itemValue="-1"/&gt;
                                       &lt;f:selectItems value="#{brandBean.manufacturers}" var="manufacturer" itemLabel="#{manufacturer.name}" itemValue="#{manufacturer.id}"/&gt;   
  
                                    &lt;/p:selectOneMenu&gt;
  
                                 &lt;/p:column&gt;
  </code></pre>
  
  <p>Please help.. </p>