[jboss-user] [JBoss Seam] - Re: Problem with injection
wise_guybg
do-not-reply at jboss.com
Thu Jul 26 12:01:57 EDT 2007
Hi chawax,
I think that you don't have an instance of serviceEmploye created so it cannot be injected. RequiredException, this means that Seam is searching for that instance to inject it.
There are two possibilities:
- you create such an instance before you go to the class that needs it
- you can tell Seam that this injection is not always required (@In(required=false))
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067887#4067887
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067887
More information about the jboss-user
mailing list