This content has been marked as final.
Show 2 replies
-
1. Re: RF 4 New ConversationScoped Stateful bean instance for each ajax request
blabno Aug 4, 2011 12:38 AM (in response to bradleydouglas)This is a question for CDI forum.
Conversations are managed manually, so if you do not start it by hand it will not be long running (it will last only a single request).
-
2. Re: RF 4 New ConversationScoped Stateful bean instance for each ajax request
bradleydouglas Aug 4, 2011 6:38 AM (in response to blabno)Thanks for the reply - you are right - it should have been in a CDI forum. I'm still getting across CSI & RF 4.
FWIW I was using a @PostConstruct initialisation method to create a long running conversation. However the conversation needs to exist before the h:form with the ajax enabled components on is rendered as this post explains: http://seamframework.org/Community/ConversationCreatedUntilPOST#comment128279
Thanks again.