org.apache.myfaces.application
Class NavigationHandlerImpl

java.lang.Object
  extended by javax.faces.application.NavigationHandler
      extended by org.apache.myfaces.application.NavigationHandlerImpl

public class NavigationHandlerImpl
extends javax.faces.application.NavigationHandler

Version:
$Revision: 472618 $ $Date: 2006-11-08 21:06:54 +0100 (Mi, 08 Nov 2006) $
Author:
Thomas Spiegl (latest modification by $Author: grantsmith $), Anton Koinov

Constructor Summary
NavigationHandlerImpl()
           
 
Method Summary
 java.lang.String beforeNavigation(java.lang.String viewId)
          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 NavigationCasethat 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
 

Constructor Detail

NavigationHandlerImpl

public NavigationHandlerImpl()
Method Detail

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 NavigationCasethat 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)
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.

returns NULL

not implemented/called by Apache MyFaces



Copyright © 2011 Apache Software Foundation. All Rights Reserved.