Requirement: When ever we try to move from one page to another page in Oracle ADF, we want to show user a message stating “This page contains uncommitted data. Would you like to perform navigation?” that there Then it will ask if the user wants to proceed.
Screen of the sample requirement is shown below.
Solution: For the solution of the above requirement simply go to the Structure window of the jspx page. Here, we are opening the Structure window of the page1.jspx page.
Click on af:document – page1.jspx > Go to the Property Panel > Set the UncommmittedDataWarning as on
Save all and run the application. Thus, the ran application is shown below:
Let me change the countryId value of the first row from AR to AA, and than click on the Go to Page 2 button. Immediately, we can see the warning message stating “This page contains uncommitted data. Would you like to perform navigation?“.
Hence, the solution to our requirement.
Thanks & Regards,
261 total views, 1 views today