Can uncommitted data be commited/rolled back with a dialog query upon navigating off the page ?

(Doc ID 2320797.1)

Last updated on OCTOBER 31, 2017

Applies to:

Oracle JDeveloper - Version 11.1.2.4.0 to 12.2.1.3.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.

Goal

An ADF application has a page with an <af:document> setting uncommittedDataWarning="on" property, combined with an <af:checkUncommittedDataBehavior> component. When the user clicks on any link or back button the following warning is shown as expected:

The above warning appears in a popup in the UI allowing you to choose if you want to continue the navigation or not.

Can the navigation be prevented on uncommitted data (in order to then commit or rollback the data) and if so, what is the preferred method?

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