This content has been marked as final.
Show 2 replies
-
1. Re: Join natural conversation ? how ??
enda Feb 2, 2008 3:12 AM (in response to enda)My working solution that is such a hack but now I see the power we have ;D
Please comment it or provide better solutionpublic String select(Team team) { conversationId = team.getId().toString(); ConversationEntries.getInstance().updateConversationId(Conversation.instance().getId(), conversationId); Set<String> existingIds = ConversationEntries.getInstance().getConversationIds(); for (String existingConversationId : existingIds) { String[] split = existingConversationId.split(":"); if(split.length == 2 && conversationId.equals(split[1])) { getFacesMessages().add("Conversation already exists"); ConversationEntries.getInstance().getConversationEntry(existingConversationId). redirect(); return null; } } return super.select(team); }
-
2. Re: Join natural conversation ? how ??
pmuir Feb 2, 2008 9:17 AM (in response to enda)Did you look at the seambay example? This has an example of natural conversations.