Hello again,

I have put a call to ConversationEntry.unlock() into my AJAX handler, and now 
conversation switching seems to work reliably:

public void actionMenuSelectionChanged() {
  |     ConversationEntry ce = 
Manager.instance().getCurrentConversationEntry(); 
  |     if (ce != null && ce.isLockedByCurrentThread()) {
  |             ce.unlock();
  |     }
  |     if (ActionMenuItems.NEU_LEBEN.toString().equals(actionMenuSelection)) { 
                
  |             Manager.instance().leaveConversation();
  |             Manager.instance().beginConversation("navigator");
  |             Manager.instance().redirect(Views.LEBEN_BERECHNUNG.toString()); 
                                        
  |     }
  | }

Does that look like a plausible solution? 

It seems to me that Manager.leaveConversation(), which in turn calls 
initializeTemporaryConversation() doesn't unlock the current conversation, 
possibly leaving it in a locked state. Can anyone confirm this hypothesis?

regards,
Karl

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121789#4121789

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121789
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to