public class NavigationHandlerProxy
extends javax.faces.application.NavigationHandler
| Constructor and Description |
|---|
NavigationHandlerProxy(String scriptName,
javax.faces.application.NavigationHandler nvDelegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleNavigation(javax.faces.context.FacesContext context,
String fromAction,
String outcome)
Perform navigation
processing based on the state information in the specified
FacesContext, plus the outcome string returned by an executed
application action. |
public NavigationHandlerProxy(String scriptName, javax.faces.application.NavigationHandler nvDelegate)
public void handleNavigation(javax.faces.context.FacesContext context,
String fromAction,
String outcome)
javax.faces.application.NavigationHandlerPerform navigation
processing based on the state information in the specified FacesContext, plus the outcome string returned by an executed
application action.
If the implementation class also
extends ConfigurableNavigationHandler, the implementation
must guarantee that the logic used in a call to ConfigurableNavigationHandler.getNavigationCase(javax.faces.context.FacesContext, java.lang.String, java.lang.String) is used in this
method to determine the correct navigation.
This method must set the render targets
(used in partial rendering) to render all
invoking PartialViewContext.setRenderAll(boolean))
if the view identifier has changed as the result of an application
action (to take into account Ajax requests).
handleNavigation in class javax.faces.application.NavigationHandlercontext - The FacesContext for the current requestfromAction - The action binding expression that was evaluated
to retrieve the specified outcome, or null if the
outcome was acquired by some other meansoutcome - The logical outcome returned by a previous invoked
application action (which may be null)Copyright © 2010–2018 JBoss by Red Hat. All rights reserved.