How to Prompt to Save Changes After Any Navigation (Doc ID 941980.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version: 10.1.3.5.0 to 11.1.1.1.0 - Release: JDeveloper 10g to
Information in this document applies to any platform.

Goal


How to catch the change of the content of an ADF Faces page ?

You need a function to check the user made some changes on a page.
There should be an alert window popup when the user navigates to another page like:
"data has been changed, do you want to save or not" (Yes or No button).
If user clicks "yes" the form should commit, "no" for rollback.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms