[jboss-user] [JBoss Seam] - Re: Overriding EntityHome.persist problems

2007-03-14 Thread denis-karpov
Why not to use pageflows for this. It is convenient and works smoothly for me. Pageflow . | page name=edit view-id=/exchange/buy.xhtml | descriptionqqq/description | redirect/ | transition name=save to=validate/ | transition

[jboss-user] [JBoss Seam] - Re: Overriding EntityHome.persist problems

2007-03-12 Thread MikeDougherty
OK, it seems the managed flag is not being set when I navigate to that page from my select list. However, it does get set correctly when I navigate to the region.xhtml from an s:link / within a h:dataTable / tag. I am apparently building and submitting my list incorrectly. So now my question

[jboss-user] [JBoss Seam] - Re: Overriding EntityHome.persist problems

2007-03-10 Thread petemuir
So you call persist if you are trying to add an entity to the database, update for one that is already there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4026856#4026856 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Overriding EntityHome.persist problems

2007-03-09 Thread petemuir
MikeDougherty wrote : I've got some rules that will validate an entity before it is saved to the database, according to what I've read the best place to do that is in the Home.persist method. Yup, that would be my plan (and in the update method as well if needed) anonymous wrote : However, in

[jboss-user] [JBoss Seam] - Re: Overriding EntityHome.persist problems

2007-03-09 Thread MikeDougherty
Thanks for the response. | @Name(regionHome) | public class RegionHome extends EntityHomeRegion | { | | @RequestParameter | Long regionId; | | @In(required=false) | Region region; | | @In | WorkingMemory regionManagerWorkingMemory; | |