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

2007-10-12 Thread lcoetzee
Thanks Pete... my Eclipse code completetion, combined with the default value tripped me up a bit. Thanks L View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094362#4094362 Reply to the post :

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

2007-10-11 Thread [EMAIL PROTECTED]
You were using unintentional behaviour in Seam. I fixed this properly a while ago. What you need to do is inject the values in the second bean: @Stateful | @Name(sectionManagementBean) | public class SectionManagementBean implements SectionManagement { | @In(#{sections.wrappedData})

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

2007-10-11 Thread lcoetzee
Great stuff. Thanks Pete. (I will have to update my code in a few places where I have used this behavior, but not a big problem) A quick test showed that it needs to be : | @In(#{sections.wrappedData}) | private ListSection sections; | | @In(#{sections.rowData}) |

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

2007-10-11 Thread lcoetzee
One question regarding: | @In(#{sections.rowData}) | @Out(required = false, scope = ScopeType.CONVERSATION) | private Section section; | Is there a way that one can say .. required=false using the above annotation. At this point I get an exception when I try to use execute

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

2007-10-11 Thread [EMAIL PROTECTED]
@In(value=..., required=false) - value is the defualt attribute for an annotation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094259#4094259 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094259