[JBoss-user] [JBoss Seam] - Re: Is Master-Detail possible in Seam

2006-07-10 Thread FrustratedBySeam
I think I've got it all working now with a few tweaks and using TransactionType.NOT_SUPPORTED. Thanks for the comments. Seams looking good once more. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956779#3956779 Reply to the post : http://www.jboss.

[JBoss-user] [JBoss Seam] - Re: Is Master-Detail possible in Seam

2006-07-09 Thread FrustratedBySeam
OK seem to have solved the repeating inserts. Adding a scope=PAGE on the @DataModel of the FindAction did the trick. Not sure why... The next problem is that when I delete a child row, the action is persisted to the db. Is there a way to stop this. I've been digging around for stuff on Transact

[JBoss-user] [JBoss Seam] - Re: Is Master-Detail possible in Seam

2006-07-09 Thread FrustratedBySeam
Sorry mean't action code. I've not posted the entities as I don't think there is anthing unusual there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956420#3956420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=395642

[JBoss-user] [JBoss Seam] - Re: Is Master-Detail possible in Seam

2006-07-09 Thread FrustratedBySeam
This is the parent code: @Stateful @Name("eventTypeUpdate") @Conversational(ifNotBegunOutcome = "eventtypefind") @LoggedIn public class EventTypeUpdateAction implements EventTypeUpdate { @PersistenceContext private EntityManager em; @In(required = false) @Out

[JBoss-user] [JBoss Seam] - Is Master-Detail possible in Seam

2006-07-09 Thread FrustratedBySeam
I'm trying to write a page that has the parent details and then a list of children rows. The page allows you to amend the parent details, modify, delete or add child rows. All actions are within the same page and I want all actions to be part of the same transaction. It does pretty much work,