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).
In the error.jsp, select the Back button.
In the Properties view, hx:commandExButton tab, click Add Rule to add a navigation rule.
Figure 17-32. Adding a navigation rule
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
Click OK to add the rule.