You apply a navigation rule to specify which view should be displayed, based on
the value of an outcome produced by the application's business logic. JSF's
NavigationHandler
handles the outcomes, and forwards them to
views determined by navigation rules and the cases they contain.
You arrive at this dialog box by right-clicking in a Faces configuration file
(faces-config.xml
) and choosing Insert > Navigation Rule. The
purpose of the dialog is to register a navigation rule with the application
by adding an entry to the Faces configuration file.
JSF 2.0 applications do not require the faces-config.xml
file. Navigation rules and the cases they contain can be managed implicitly,
meaning that they can be determined by matching outcome values with the names
of pages contained in the application's web root.
<from-view-id>
) Specifies
the identifier of the view from which the request originated.<description>
) An optional
textual description of the element, which can be flagged with a language code
using the xml:lang
attribute.