|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.orchestra.conversation.jsf.components.UISeparateConversationContext
public class UISeparateConversationContext
Embedded links will start a new conversation context.
Use this as the ancestor of any clickable links that should cause the new page to run within a totally new set of conversations. This really only makes sense when those links cause a new window to open. That new window then acts completely independently of the original window (as long as data is stored in conversations, not directly in the http session).
Normally, all urls within a view are rendered with a query parameter holding the current conversation context id, causing a later request to that url to use the same context as was used to render the original page. This tag causes this special query parameter to be omitted for all urls output by nested components. When any such url is invoked, the missing conversation context id then causes a new conversation context to be created.
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
Constructor Summary | |
---|---|
UISeparateConversationContext()
|
Method Summary | |
---|---|
void |
encodeBegin(javax.faces.context.FacesContext context)
|
void |
encodeChildren(javax.faces.context.FacesContext context)
|
String |
getFamily()
|
boolean |
getRendersChildren()
|
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, decode, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
Constructor Detail |
---|
public UISeparateConversationContext()
Method Detail |
---|
public void encodeBegin(javax.faces.context.FacesContext context) throws IOException
encodeBegin
in class javax.faces.component.UIComponentBase
IOException
public void encodeChildren(javax.faces.context.FacesContext context) throws IOException
encodeChildren
in class javax.faces.component.UIComponentBase
IOException
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.component.UIComponentBase
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |