Ans : <af:table rows=”#{bindings.LoggedInUserServiceRequests.rangeSize}”…/>
Interview Questions and Answers(Ex:JAVA,SEO,ORACLE,.NET,SAP) for Freshers and Experienced pdf Free Download---Interviewdoor.com
Monday, March 23, 2015
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.
<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.
Subscribe to:
Posts (Atom)