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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...