[jboss-user] [JBoss Seam] - Re: Question On @Datamodel Outjection

baz do-not-reply at jboss.com
Mon May 21 07:22:06 EDT 2007


Hi,
now it is hopefully clear to me.
You have an object 'budgetOverview' which is managed by seam, due to the @name annotation .


At some stage in your workflow an object called budgetOverview is created (new ...) This object is NOT managed by seam. And you are outjecting this object into the same scope as the seam managed object resides in.

So the datamodel can not be outjected, since you are not having a managed object in the scope.

You should not create, with new, the budgetOverview object. Try to inject this bean into expresscalculator.

>From your code i suppose that you are not familar with the seam way of programming. Try to investigate the seam examples until you understand them. Or buy the very good new seam book, read documentation and experiment for yourself.

If you have questions abourt the examples or documentation do not hesitate to ask here.

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

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



More information about the jboss-user mailing list