|
Using JSF navigation rules in the component |
|
| 1. | Define necessary 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. | The tabbedPanel:tabbedPanelItem should be used to specify which navigation rule to use. |
<tabbedPanel:tabbedPanelItem text="Microsoft"
hintText="Microsoft"
defaultImage="../../repository/images/new/mail.gif"
navigationAction="action1"
defaultSmallImage="../../repository/images/new/mail.gif"
hightLightImage="../../repository/images/new/mail_write.gif"/>