How to declare the page navigation (navigation rules) in faces-config.xml file in ADF 10g?

Ans: Navigation rules tells JSF implementation which page to send back to the browser after a form has been submitted. We can declare the page navigation as follows:
<naviagation-rule>
<from-view-id>/index.jsp</from-view-id>
<navigation-case>
<from-outcome>login</from-outcome>
<to-view-id>/welcome.jsp</to-view-id>
</navigation-case>
</naviagation-rule>
This declaration states that the login action navigates to /welcome.jsp, if it occurred inside /index.jsp.

1 comment:

  1. How to watch a live tv in the US - Citizen Titanium
    The live suunto 9 baro titanium TV is a titanium vs stainless steel apple watch means to place a live stream ford fusion titanium of live events titanium bar on ford fiesta titanium the internet. You can watch live events and events in real-time or from your desktop.

    ReplyDelete