My working solution that is such a hack but now I see the power we have ;D
Please comment it or provide better solution
| public 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);
| }
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125745#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...