O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required