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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to