16.4. Navigation model

Page navigation is a crucial aspect of all Web applications. The JSF navigation model makes it easy to define page navigation and to handle any additional processing needed to choose the sequence in which pages are loaded.

In the JSF technology, navigation is a set of rules for choosing the next page to be displayed after a UICommand is clicked, that is, a button or hyperlink. These rules are defined in the application configuration resource file.

To handle the simplest navigations, you have to:

  • Define the rules in the application configuration resource file (see Example 16-16 on page 540).

  • Refer to an outcome String from the button or hyperlink component’s action attribute. This outcome String is used by the JSF implementation ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.