Uff just realized that bean discovery mode annotated is not supported in servlet environment. Anyway I keep the original comment:
Hi Igor, If you don't have @ViewScoped at your bean then yes this is expected behaviour, because @Named is not bean defining annotation and since you have bean discovery mode as annotated this class is not picked up as a CDI bean. In other case (you have @ViewScoped) I think this annotation is not included in set of bean defining annotations within Weld Servlet integration but I am going to check.
|