This content has been marked as final.
Show 2 replies
-
1. Re: Best Practise: Form / Confirm / Save | Getting current p
fernando_jmt May 15, 2007 10:58 AM (in response to -arthur-)You should use the CONVERSATION scope and use flushMode = FlushModeType.MANUAL in the @Begin annotation, then you can explicitly call entityManager.flush() if you want yo save the data, otherwise you can do anything with the data you want to edit while you conversation is active.
Regarding your second question, I don't understand what you want to do. Maybe if you explain a bit else, I can help you. -
2. Re: Best Practise: Form / Confirm / Save | Getting current p
reind May 15, 2007 1:46 PM (in response to -arthur-)You can get the view id with:
@In FacesContext facesContext; ... facesContext.getViewRoot().getViewId()