|
Using JSF navigation rules in WebGalileo Faces components |
|
The below components support JSF navigation rules:
| • | Tree |
| • | Menu |
To use your navigation rules the below steps should be accomplished :
| 1. | Define the navigation rules in the faces-config element of your application configuration 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. | Set the given defined rule in the given WebGalileoFaces component. |
<toolbar:pageHeader text="Corporation Sites" hintText="Corporation Sites" navigationAction="action0" defaultImage="../../repository/images/new/telephone.gif"/>
You can see JSF navigation rules samples for each component in the testing application bundled with any deliverable.