org.apache.myfaces.application
Class NavigationHandlerImpl
java.lang.Object
javax.faces.application.NavigationHandler
org.apache.myfaces.application.NavigationHandlerImpl
public class NavigationHandlerImpl
- extends javax.faces.application.NavigationHandler
- Version:
- $Revision: 684459 $ $Date: 2008-08-10 06:13:56 -0500 (Sun, 10 Aug 2008) $
- Author:
- Thomas Spiegl (latest modification by $Author: skitching $), 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(javax.faces.context.FacesContext facesContext,
java.lang.String fromAction,
java.lang.String outcome)
Returns the navigation case that applies for the given action and outcome |
java.lang.String |
getViewId(javax.faces.context.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(javax.faces.context.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(javax.faces.context.FacesContext facesContext,
java.lang.String fromAction,
java.lang.String outcome)
- Specified by:
handleNavigation
in class javax.faces.application.NavigationHandler
getNavigationCase
public NavigationCase getNavigationCase(javax.faces.context.FacesContext facesContext,
java.lang.String fromAction,
java.lang.String outcome)
- Returns the navigation case that applies for the given action and outcome
getViewId
public java.lang.String getViewId(javax.faces.context.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.
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.