Well as far as i understand it works like this:
first, seam looks if a object for this variable exists, in all scopes, if none was found,
seams looks if a component with such a name exists ->
(the code u posted) if yes , it will be created.
currentUser would only be never null when u write something like this:
@Name("currentUser")
public class User {
....
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962340#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...