org.apache.myfaces.orchestra.conversation.jsf.components
Class UISeparateConversationContext
java.lang.Object
UIComponentBase
org.apache.myfaces.orchestra.conversation.jsf.components.UISeparateConversationContext
public class UISeparateConversationContext
- extends UIComponentBase
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
UISeparateConversationContext
public UISeparateConversationContext()
encodeBegin
public void encodeBegin(FacesContext context)
throws java.io.IOException
- Throws:
java.io.IOException
encodeChildren
public void encodeChildren(FacesContext context)
throws java.io.IOException
- Throws:
java.io.IOException
getRendersChildren
public boolean getRendersChildren()
getFamily
public java.lang.String getFamily()
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.