[jboss-user] [JBoss Seam] - Re: null component check in the view -- how does it work?

Holger Prause do-not-reply at jboss.com
Tue Aug 1 23:21:21 EDT 2006


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#3962340

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962340



More information about the jboss-user mailing list