[jboss-user] [JBoss Seam] - Re: Problem with injection in an jsf action listener
petemuir
do-not-reply at jboss.com
Mon Oct 2 10:13:31 EDT 2006
You got the answer in your subject :)
In your first situation you are injecting the ActionListener (#{...}) which means Seam instantiates it properly. In the second situation you are just creating a new instance
ActionListener al = new com.nortel.emp.listener.AddRoleListener();
- Seam doesn't instantiate it and so nothing gets injected.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975494#3975494
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975494
More information about the jboss-user
mailing list