[jsr-314-open-mirror] [jsr-314-open] CDI constructor integration

Pete Muir pmuir at redhat.com
Wed Jul 7 19:20:29 EDT 2010


On 29 Jun 2010, at 11:37, Ed Burns wrote:

>>>>>> On Thu, 24 Jun 2010 10:42:03 -0400, Stephen Kenna <kenna at us.ibm.com> said:
> 
> SK> We did some testing on Glassfish, and not only did constructor injection 
> SK> not occur, but field injection did not occur either.  (Field injection is 
> SK> working on JBoss)
> 
> Did you try putting the @Inject annotation on the field itself (not the
> setter) and also putting the @javax.faces.bean.ManagedProperty
> annotation on the field?

Why do you need to put @ManagedProperty on the field? This is not required.



More information about the jsr-314-open-mirror mailing list