This content has been marked as final.
Show 3 replies
-
1. Re: Concurrent Call to Conversation (CCTC)
asookazian Mar 9, 2010 8:32 PM (in response to swario)Access to conversations in Seam are serialized:
Seam enforces a single thread per conversation per process model for the conversation context by serializing concurrent requests in the same long-running conversation context.If this is an AJAX-related problem (e.g. AJAX requests fired by onkeyup event in the rich:suggestionBox component), then you can show a rich:modalPanel every time there is an ajax request/response cycle. This will disallow double-submissions for example when using a4j:commandButton.
You should also use the a4j:queue tag in your facelets: http://community.jboss.org/wiki/DesignofRichFacesa4jqueue
-
2. Re: Concurrent Call to Conversation (CCTC)
swd847 Mar 9, 2010 11:13 PM (in response to swario)You can use client side javascript to disable buttons during an ajax request, and then re-enable them in the oncomplete method.
-
3. Re: Concurrent Call to Conversation (CCTC)
amitev Mar 9, 2010 11:53 PM (in response to swario)In our systems we use jQuery blockUI plugin.