Hello, have you tried the PAGE scope for this? I am not sure how it behaves regarding persistence contexts, but it seems to
fit like a glovethe rest of your requirements.
I encountered the similar problem Israel mentioned. The PAGE Scope doesn't help. The scenario is:
Iterate over a list of records from database on the same JSF page, user performs some actions (e.g. editing), the result is saved back into the database, then pull some other records out of the same database table. This loop continues until all the records in the table are edited. All these should occur on the same JSF page. How could this be accomplished?
Any help and/or advice is highly appreciate.
The problem is that the entityManger cant be (or should'nt be) scoped to the PAGE, i think that have problems with serialization (i think), and the PAGE scope is not a very good place to left entityManagers living cause it's only cleaned after another 14 views are requested.
Anyway, so i really needed something like the ConversationalPage, and looks like i'm not the only one.