title: JSF Converter warning
body: <p>From my xhtml file:</p>
  
  <pre><code>&lt;h:inputTextarea value="#{newPostForm.post.body}"&gt;
       &lt;f:converter converterId="NL2BRConverter" /&gt;
  &lt;/h:inputTextarea&gt;
  </code></pre>
  
  <p>From my java file:</p>
  
  <pre><code>@FacesConverter(forClass=String.class)
  public class NL2BRConverter implements Converter {
  
  @Override
  public Object getAsObject(FacesContext ctx, UIComponent comp, String str) {
      return str.replaceAll("\r\n+", "&lt;br /&gt;");
      //return str.replaceAll("\r\n+", "&amp;#13");
  }
  
  @Override
  public String getAsString(FacesContext ctx, UIComponent comp, Object obj) {
      return obj.toString();
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Eclipse is giving me a warning in my xhtml file that <em>'NL2BRConverter' converterID is not registered.</em></p>
  
  <p>I've tried replacing the converter annotation with </p>
  
  <pre><code>@FacesConverter("NL2BRConverter")
  </code></pre>
  
  <p>but the error persists. Is this not sufficient to register a converter in JSF2.0 ?</p>
  
  <p>Currently if I used the full class name "com.tracker.converter.NL2BRConverter" as the annotated name and the converterID in my XHTML files, it works. I still get that warning however...</p>