[jboss-user] [JBoss Seam] - Re: two @datamodel in one sessionbean?

pete.muir@jboss.org do-not-reply at jboss.com
Sun Sep 16 17:54:07 EDT 2007


This is also not explained well in the docs ;)

It's simply that @DataModelSelection is like @In.  Unless you actually call a method on the bean the bijections of that bean don't happen (obviously, otherwise at every request all bijection on all Seam components would occur).  So unless you do *something* with that bean the injection from @DataModelSelection and the outjection due to @Out won't occur.

Add this to JIRA and I'll improve the wording.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084842#4084842

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



More information about the jboss-user mailing list