title: JSF inputtext + Converter
body: <p>First, I show my code:</p>
  
  <p><strong>XHTML page:</strong></p>
  
  <pre><code>&lt;h:body&gt;
      &lt;h:form id="ffffffffff"&gt;
          &lt;p:inputText value="#{prueba.dato}" &gt;
              &lt;p:ajax event="keyup" process="@this" /&gt;
          &lt;/p:inputText&gt;
      &lt;/h:form&gt;
  &lt;/h:body&gt;
  </code></pre>
  
  <p><strong>Bean:</strong></p>
  
  <pre><code>@ManagedBean
  @ViewScoped
  public class Prueba implements Serializable {
  
      private String dato = "ASSSS";
  
      public String getDato() {
         return dato;
      }
  
      public void setDato(String dato) {
          this.dato = dato;
  
          System.out.println("DAAAAAA: " + dato);
      }
  
      public void listener() {
          System.out.println("LISTENEEEEEEEEEEEEEEEEEEEEEEEEEE");
      }
  }
  </code></pre>
  
  <p><strong>Converter</strong></p>
  
  <pre><code>@FacesConverter
  public class SnaCarreraConverter extends SelectItemsConverter {
      //CODE
  }
  </code></pre>
  
  <p>My problem, <strong>setDato</strong> is always getting a <strong>null</strong> value. But when I modify the converter to this:</p>
  
  <p>@FacesConverter(forClass=SnaCarrera.class)</p>
  
  <p>adding forClass resolve my problem, I don't know why this happens. Is The inputText trying to find a Converter without add the converter property?</p>