17.7. Implementing page navigation

In this section, you will implement the navigation between the calculate.jsp and the error.jsp. Navigation rules are stored in the configuration file. There are local rules (for one JSF page) and global rules (for all JSF pages).

1.
In the error.jsp, select the Back button.
2.
In the Properties view, hx:commandExButton tab, click Add Rule to add a navigation rule.
Figure 17-32. Adding a navigation rule
3.
Select the calculate.jsp page, enter back as the outcome and leave other fields unchanged (Figure 17-33).
Figure 17-33. Adding a navigation rule

4.
Click OK to add the rule.
5. ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.