//writeConversationIdToResponse( facesContext.getExternalContext().getResponse() );
afterRenderResponse(facesContext);
}
else if ( event.getPhaseId() == INVOKE_APPLICATION || facesContext.getRenderResponse() || facesContext.getResponseComplete() )
{
Manager manager = Manager.instance();
manager.beforeRedirect();
if ( manager.isLongRunningConversation() )
{
setPortletRenderParameter(
facesContext.getExternalContext().getResponse(),
manager.getConversationIdParameter(),
manager.getCurrentConversationId()
);
}
afterResponseComplete(facesContext);
}