org.apache.myfaces.tomahawk.util
Class DirectNavigationHandler
java.lang.Object
javax.faces.application.NavigationHandler
org.apache.myfaces.tomahawk.util.DirectNavigationHandler
public class DirectNavigationHandler
- extends javax.faces.application.NavigationHandler
This is an alternative
implementation of the NavigationHandler,
directly using the outcome of an action
as the name of the page.
Method Summary |
void |
handleNavigation(javax.faces.context.FacesContext context,
java.lang.String fromAction,
java.lang.String outcome)
Gives the handleNavigation() method an alternative behaviour. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectNavigationHandler
public DirectNavigationHandler()
handleNavigation
public void handleNavigation(javax.faces.context.FacesContext context,
java.lang.String fromAction,
java.lang.String outcome)
- Gives the handleNavigation() method an alternative behaviour. Linking
is now processed directly to the given url (e.g. action="/pages/site.jsp").
There is no check if the outcome value really points to a valid page.
- Specified by:
handleNavigation
in class javax.faces.application.NavigationHandler
Copyright © 2009. All Rights Reserved.