org.apache.struts2.jsf
Class StrutsNavigationHandler
java.lang.Object
javax.faces.application.NavigationHandler
org.apache.struts2.jsf.StrutsNavigationHandler
public class StrutsNavigationHandler
- extends javax.faces.application.NavigationHandler
Overrides the JFS navigation by delegating the result to handling by the core
result code lookup and execution. If a result cannot be found, the previous
NavigationHandler is called.
Method Summary |
void |
handleNavigation(javax.faces.context.FacesContext facesContext,
java.lang.String fromAction,
java.lang.String outcome)
Stores any outcomes as the result code, failing over to the old
NavigationHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrutsNavigationHandler
public StrutsNavigationHandler(javax.faces.application.NavigationHandler handler)
- Creates the handler
- Parameters:
handler
- The old NavigationHandler to possibly delegate to
handleNavigation
public void handleNavigation(javax.faces.context.FacesContext facesContext,
java.lang.String fromAction,
java.lang.String outcome)
- Stores any outcomes as the result code, failing over to the old
NavigationHandler
- Specified by:
handleNavigation
in class javax.faces.application.NavigationHandler
- Parameters:
facesContext
- The faces contextfromAction
- The action we are coming fromoutcome
- The String return code
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.