[jboss-user] [JBoss Seam] - @In reference a bit strange
dhinojosa
do-not-reply at jboss.com
Fri Jan 18 23:00:09 EST 2008
Anyone notice this with their app?
If I inject with the #{} notation objects get created whether even if you specify create=false;
| @In(value="#{foo}", create=false)
| public void setFoo(Foo foo) {...} //Foo object gets created.
|
If you don't inject with the #{} objects work great! But if the Foo object happens to be in the EVENT scope then you will non-null error issues during conversation or seesion timeout of the bean that depends on the event bean.
| @In(value="foo")
| public void setFoo(Foo foo) {...}
|
Anybody
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121472#4121472
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121472
More information about the jboss-user
mailing list