IntelliJ IDEA 2016.2 Help

Defining Navigation Rules

Navigation diagrams provide additional support for managing the rules of navigation between the pages of your application. In certain cases, they are a useful alternative to editing the contents of faces-config.xml.

With faces-config.xml open in the editor, use the Navigation tab to view and draw the diagram. Your drawing is automatically synchronized with the contents of faces-config.xml (and vice versa).

For detailed information about the available controls and context menu commands, see Diagram Toolbar and Context Menu.

Using the navigation diagram to create the navigation rules

  1. Open faces-config.xml in the editor.
  2. Click the Navigation tab.
  3. Drag the required pages (one by one) from the Project tool window onto the Navigation tab.
  4. Use the mouse to draw the navigation lines between the pages. As a result, the corresponding navigation rules are created. (Switch onto the Text tab to see those rules.)

See Also

Last modified: 23 November 2016