com.sun.faces.application
Class NavigationHandlerImpl

java.lang.Object
  extended by javax.faces.application.NavigationHandler
      extended by com.sun.faces.application.NavigationHandlerImpl

public class NavigationHandlerImpl
extends javax.faces.application.NavigationHandler

NavigationHandlerImpl is the class that implements default navigation handling. Refer to section 7.4.2 of the specification for more details. PENDING: Make independent of ApplicationAssociate.


Constructor Summary
NavigationHandlerImpl()
          This constructor uses the current Application instance to obtain the navigation mappings used to make navigational decisions.
 
Method Summary
 void handleNavigation(javax.faces.context.FacesContext context, java.lang.String fromAction, java.lang.String outcome)
          Determine the next view based on the current view (from-view-id stored in FacesContext), fromAction and outcome.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationHandlerImpl

public NavigationHandlerImpl()
This constructor uses the current Application instance to obtain the navigation mappings used to make navigational decisions.

Method Detail

handleNavigation

public void handleNavigation(javax.faces.context.FacesContext context,
                             java.lang.String fromAction,
                             java.lang.String outcome)
Determine the next view based on the current view (from-view-id stored in FacesContext), fromAction and outcome.

Specified by:
handleNavigation in class javax.faces.application.NavigationHandler
Parameters:
context - The FacesContext
fromAction - the action reference string
outcome - the outcome string


Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.