[jboss-user] [JBoss Seam] - Re: DataModel in two SFSB issues

petemuir do-not-reply at jboss.com
Tue Apr 17 12:40:07 EDT 2007


Louis, post your source for Bean A and Bean B.  

@DataModel does a conversion to a DataModel and then outjects the result - it doesn't do a subsequent injection. Based on your description above I wouldn't expect sections, created in A, to be available in B if annotated with @DataModel (you need to use @In).  If you want the underlying list you can use @In("#{sections.wrappedData}").

The code you post just deals with outjecting a DataModel from the bean - and as you outject a different object it is dirty...

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

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



More information about the jboss-user mailing list