[jboss-user] [JBoss Seam] - @In(create=true) throws exception when variable is null?
SmokingAPipe
do-not-reply at jboss.com
Wed Dec 13 04:39:43 EST 2006
I have a session bean that has a variable (instance member) like this:
@In(create=true) Foo foo;
Even if "foo" is null, that should work, because it will just create it, right? But it doesn't work; I have to do:
@In(create=true,required=false) Foo foo;
which doesn't make sense. It seems like if create is true, then required is superfluous, right? Or not right?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993302#3993302
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993302
More information about the jboss-user
mailing list