# Add Navigation Rule Dialog Box

Use to register a navigation rule with the application by adding an entry to the Faces configuration file.

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.

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.

Element | Description
--- | ---
Rule from View | (`<from-view-id>`) Specifies the identifier of the view from which the request originated.
Rule Description | (`<description>`) An optional textual description of the element, which can be flagged with a language code using the `xml:lang` attribute.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.