This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Here is the code from Jboss Weld login example application. public class Users { @PersistenceContext private EntityManager userDatabase; @SuppressWarnings("unchecked") @Produces @Named @RequestScoped public List<User> getUsers(){ return userDatabase.createQuery("select u from User u").getResultList(); } } Now the EL code completion should suggest "#{users}" as List<User>, but it doesn't show it. The EL code completion works for @Named web beans perfect.
I'm affected by this one in NB 7.1.1 too.
The code completion for these @Named elements should work now. Fixed in web-main #4d42e257b416.
Integrated into 'main-silver', will be available in build *201311140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4d42e257b416 User: Martin Fousek <marfous@netbeans.org> Log: #200385 - Code completion doesn't work for @Named @Produces getters in non-named class