title: Why are my @Inject'ed fields null when using the Converter with @Param?
body: <p>I've a pretty basic setup here:</p>
  
  <pre><code>@Named
  @ApplicationScoped
  public class TalentIdConverter implements Converter {
      @EJB
      private EntityManagerDao em;
  
      @Override
      public Object getAsObject(FacesContext context, UIComponent component, String value) {
          if (Strings.isNullOrEmpty(value)) {
              return null;
          }
          return em.find(Talent.class, Long.parseLong(value));
      }
  
      @Override
      public String getAsString(FacesContext context, UIComponent component, Object value) {
          return String.valueOf(((Talent) value).getId());
      }
  }
  
  // Manager.class
  public class Manager {
      @Inject @Param(converterClass = TalentIdConverter.class, name = "talentId")
      private ParamValue&lt;Talent&gt; curTalent
  
      @PostConstruct
      public void init() {
          // use curTalent.getValue()
      }
  }
  </code></pre>
  
  <p>But every time <code>TalentIdConverter.getAsObject</code> is called <code>em</code> is null. Can someone enlighten me why this is?
  I've also tried using <code>@FacesConverter</code> on the converter, but the behavior did not change.</p>
  
  <p>This is on Wildfly-8.0.0.Beta1 using Weld-2.1.0.CR1 and Omnifaces-1.6.3</p>