Class StrutsNavigationHandler

  extended by javax.faces.application.NavigationHandler
      extended by 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.

Constructor Summary
StrutsNavigationHandler(javax.faces.application.NavigationHandler handler)
          Creates the handler
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

Constructor Detail


public StrutsNavigationHandler(javax.faces.application.NavigationHandler handler)
Creates the handler

handler - The old NavigationHandler to possibly delegate to
Method Detail


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
facesContext - The faces context
fromAction - The action we are coming from
outcome - The String return code

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.