Name

NavigationHandler

Synopsis

An instance of a subclass of this abstract class is invoked to handle navigation to different view based on the outcome of an action method. The default implementation behavior is described in Chapter 9.

Synopsis

Class name:

javax.faces.application.NavigationHandler

Extends:

None

Implements:

None

Constructors

public NavigationHandler()

Creates an instance.

Methods

public abstract void handleNavigation(javax.faces.context.FacesContext context, String fromAction, String outcome)

Selects a new view (or sends a response and calls the FacesContext responseComplete( ) method) based on the provided information about the method binding expression for the action method and the action outcome.

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.