-
Select faces-config.xml in the Project Explorer of the J2EE
perspective.
The JSF Application Configuration editor opens.
-
Select the Navigation Rule tab of
the editor.
-
Drag the pages that you want to link from the Project Explorer and drop them onto the Navigation Rule page.
-
Show Palette
.
-
Click Link on the Palette.
This activates the link control so you can draw lines to link
pages and indicate the navigation rule.
-
Click on the page that you want to link, move the cursor to the
page to which you want to link, and click again to release the cursor..
A line with an arrow appears connecting the two pages. The arrow
points to the page the line was drawn to indicate the navigation rule.
-
Repeat steps 5 and 6 until all pages and actions are linked.
-
The scale percentage appears on the main toolbar. You can also
change the scale by clicking the arrow in the percentage tool to open
the drop-down menu and selecting the scale percentage.
-
(Optional) To align icons in the navigation rule diagram:
-
Click Select on the Palette.
This activates the select control.
-
Select the icons that you want to align.
The Align tools are enabled on the main toolbar.
-
Click the direction that you want the alignment.
You can align icons left, center, right, top, middle, or
bottom.
The icons are aligned in the selected direction.