@Typed public abstract class ConversationRequiredUtils extends Object
ConversationRequired| Modifier and Type | Method and Description |
|---|---|
static void |
ensureExistingConversation(javax.faces.context.FacesContext facesContext)
Checks if the page-bean for the current view hosts
ConversationRequired
and the conversation has been started or the current page is an allowed entry-point for the conversation. |
public static void ensureExistingConversation(javax.faces.context.FacesContext facesContext)
ConversationRequired
and the conversation has been started or the current page is an allowed entry-point for the conversation.
If a violation is detected, the default-entry-point
(specified by ConversationRequired)
will be used as new view which will be rendered.facesContext - current faces-contextCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.