org.apache.myfaces.application
Class NavigationHandlerImpl
java.lang.Object
javax.faces.application.NavigationHandler
javax.faces.application.ConfigurableNavigationHandler
org.apache.myfaces.application.NavigationHandlerImpl
public class NavigationHandlerImpl
- extends ConfigurableNavigationHandler
- Version:
- $Revision: 963724 $ $Date: 2010-07-13 09:25:05 -0500 (Tue, 13 Jul 2010) $
- Author:
- Thomas Spiegl (latest modification by $Author: jakobk $), Anton Koinov
Method Summary |
java.lang.String |
beforeNavigation(java.lang.String viewId)
TODO
Invoked by the navigation handler before the new view component is created. |
NavigationCase |
getNavigationCase(FacesContext facesContext,
java.lang.String fromAction,
java.lang.String outcome)
Returns the navigation case that applies for the given action and outcome |
java.util.Map<java.lang.String,java.util.Set<NavigationCase>> |
getNavigationCases()
|
java.lang.String |
getViewId(FacesContext context,
java.lang.String fromAction,
java.lang.String outcome)
Returns the view ID that would be created for the given action and outcome |
void |
handleNavigation(FacesContext facesContext,
java.lang.String fromAction,
java.lang.String outcome)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationHandlerImpl
public NavigationHandlerImpl()
handleNavigation
public void handleNavigation(FacesContext facesContext,
java.lang.String fromAction,
java.lang.String outcome)
- Specified by:
handleNavigation
in class NavigationHandler
getNavigationCase
public NavigationCase getNavigationCase(FacesContext facesContext,
java.lang.String fromAction,
java.lang.String outcome)
- Returns the navigation case that applies for the given action and outcome
- Specified by:
getNavigationCase
in class ConfigurableNavigationHandler
getViewId
public java.lang.String getViewId(FacesContext context,
java.lang.String fromAction,
java.lang.String outcome)
- Returns the view ID that would be created for the given action and outcome
beforeNavigation
public java.lang.String beforeNavigation(java.lang.String viewId)
- TODO
Invoked by the navigation handler before the new view component is created.
- Parameters:
viewId
- The view ID to be created
- Returns:
- The view ID that should be used instead. If null, the view ID passed
in will be used without modification.
getNavigationCases
public java.util.Map<java.lang.String,java.util.Set<NavigationCase>> getNavigationCases()
- Specified by:
getNavigationCases
in class ConfigurableNavigationHandler
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.