org.apache.myfaces.orchestra.conversation.jsf
Class _JsfConversationUtils

java.lang.Object
  extended by org.apache.myfaces.orchestra.conversation.jsf._JsfConversationUtils

public class _JsfConversationUtils
extends java.lang.Object

Various utilities used by the conversation framework

Notice: this class is not meant to be used outside of this library


Method Summary
static void endAndRestartConversation(FacesContext context, java.lang.String conversationName, java.lang.Boolean restart, MethodBinding restartAction)
          end and restart a conversation
static AbstractConversationComponent findEndConversationComponent(UIComponent component, java.lang.String conversationName)
          Find a child start or end conversation component for the given conversation name
static UICommand findParentCommand(UIComponent base)
          Find the first parent which is a command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findParentCommand

public static UICommand findParentCommand(UIComponent base)
Find the first parent which is a command


findEndConversationComponent

public static AbstractConversationComponent findEndConversationComponent(UIComponent component,
                                                                         java.lang.String conversationName)
Find a child start or end conversation component for the given conversation name


endAndRestartConversation

public static void endAndRestartConversation(FacesContext context,
                                             java.lang.String conversationName,
                                             java.lang.Boolean restart,
                                             MethodBinding restartAction)
end and restart a conversation



Copyright © 2009 The Apache Software Foundation. All Rights Reserved.