|
Using JSF navigation rules in the component |
|
The below steps should be accomplished :
| 1. | Define necessary navigation rules in faces-config file. |
<navigation-rule>
<navigation-case>
<from-outcome>action0</from-outcome>
<to-view-id>/components/toolbar/corpsites.jsp</to-view-id>
</navigation-case>
...
</navigation-rule>
| 2. | Use the following tags toolbar:pageItem or toolbar:pageHeader to set the navigation rules. |
<toolbar:pageItem text="Corporation Sites"
hintText="Corporation Sites"
navigationAction="action0"
defaultImage="../../repository/images/new/telephone.gif"/>