When we visit some websites and try to close browser tab, it shows warning message like this image
- Select af:document from page structure and go to property inspector, now Set UncommitedDataWarning to on.
Now when you have uncommitted data in your page and you want to navigate yo other page or want to close same page it will show a messageWhen Navigate to another page and page has Uncommitted Data-
When try to close tab and page has Uncommitted Data-
To do this in Oracle ADF you have to do nothing complex, if you are using .jspx then it is so simple.