[jboss-user] [JBoss Seam] - Re: @In(create=true) throws exception when variable is null?
SmokingAPipe
do-not-reply at jboss.com
Wed Dec 13 05:51:06 EST 2006
Ok, in the Foo class, I added:
| @Roles({
| @Role(name="createFoo", scope=ScopeType.CONVERSATION)
| })
and that didn't help, so I'm at a loss as to how to do anything practical with @In(create=true), used together with @Out, like:
@In(create=true) @Out Foo createFoo;
It seems like it should just instantiate the thing and then outject it with the variable name of "createFoo", but that isn't happening and createFoo is null when the page renders. Huh? I must be doing something dumb here....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993331#3993331
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993331
More information about the jboss-user
mailing list