/** * "Pop" the conversation stack, switching to the parent conversation */ public void pop() { String parentId = getParentId(); if (parentId!=null) { Manager.instance().switchConversation(parentId); } }
@Override public Object getValue() { Conversation conversation = Conversation.instance(); if ( !conversation.isNested() || conversation.isLongRunning() ) { if (getViewId()!=null) { Page page = Pages.instance().getPage(getViewId()); return page.getConversationIdParameter().getParameterValue(); } else { return conversation.getId(); } } else { return conversation.getParentId(); } }
.appendConversationIdIfNecessary(conversationIdParameter, conversation.getParentId()) .getUrl();