6.2.3. Navigation Rules

Select the navigation rule under Configuration > faces-config.xml > Navigation Rules :

Selecting Navigation Rule

Figure 6.7. Selecting Navigation Rule


Drag and drop it inside the commandButton tag:

Naviagation Rule in CommandButton Tag

Figure 6.8. Naviagation Rule in CommandButton Tag


You could do the same if the navigation rule was defined inside an action method:

Navigation Rule in Action Method

Figure 6.9. Navigation Rule in Action Method


Here is how it would look after drag and drop:

Inserted Navigation Rule

Figure 6.10. Inserted Navigation Rule