IntelliJ IDEA 2020.2 Help

Define 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.

Use the navigation diagram to create the navigation rules

  1. Open faces-config.xml in the editor and click the Navigation tab at the bottom.

  2. Drag the required pages (one by one) from the Project tool windnow onto the Navigation tab.

  3. 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.)

    Using the navigation diagram to create the navigation rules

Last modified: 08 May 2020