-
1. Re: Conversations + Ajax + Single Page
niox.nikospara.yahoo.com May 21, 2009 11:41 PM (in response to israel.bgf)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 glove
the rest of your requirements. -
2. Re: Conversations + Ajax + Single Page
wvning May 22, 2009 4:02 AM (in response to israel.bgf)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. -
3. Re: Conversations + Ajax + Single Page
israel.bgf May 22, 2009 6:25 PM (in response to israel.bgf)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.