title: How to solve "Conversion Error setting value '2013-10-26' for 'null Converter'" in h:inputText with Date value?
body: <p>when I press the insert button, I get the error indicated on the title </p>
  
  <blockquote>
    <p>Conversion Error setting value '2013-10-26' for 'null Converter'</p>
  </blockquote>
  
  <pre><code>&lt;h:form id="formulario"&gt;
     &lt;h:outputLabel for="date"&gt;Plazo&lt;/h:outputLabel&gt;
     &lt;h:inputText id="date" required="true" requiredMessage="Campo Obligatorio" value="#{aaaNewDetalles.criterioAaa.plazo}"/&gt;
     &lt;h:message for="date" style="color: red;"/&gt;
     &lt;h:commandButton actionListener="#{aaaNewDetalles.add()}" value="Ingresar"/&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>the form is managed by this class:</p>
  
  <pre><code>@ManagedBean(name = "aaaNewDetalles")
  @ViewScoped
  public class aaaNewDetallesBean {
       private CriterioAaaController controller;
       private CriterioAaa criterioAaa;
  
      @PostConstruct
      public void init(){
            controller= new CriterioAaaController();
            criterioAaa= new CriterioAaa();
      }
  
      public void add(){
          controller.save(criterioAaa);
      }
  
      public CriterioAaa getCriterioAaa() {
          return criterioAaa;
      }
  
      public void setCriterioAaa(CriterioAaa criterioAaa) {
          this.criterioAaa = criterioAaa;
      }
  }
  </code></pre>
  
  <p>The object CriterioAaa:</p>
  
  <pre><code>import java.sql.Date;
  
  @Table(name = "criterio_aaa", schema = "", catalog = "ciclos_calidad")
  @Entity
  public class CriterioAaa extends Entidad implements Serializable {
  
      private Date plazo;
  
      public Date getPlazo() {
          return plazo;
      }
  
      public void setPlazo(Date plazo) {
          this.plazo = plazo;
      }
  
  }
  </code></pre>