Skip to content

hhudson/Warn-on-unsaved-changes-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plugin to Enhance the "Warn on Unsaved Changes" UX

Description

This Oracle APEX plugin is designed to provide item-level feedback on which page item holds the "unsaved changes" that trigger the alert "Leave Site?Changes you made may not be saved." Specifically, the message "This item has unsaved changes" will be added next to the offending item in question, for e.g. :

screenshot

Demo application here : DEMO

How To

  1. Install the plugin in your APEX application
  2. On Page 0, add a page load dynamic action with a true action of type "Warn on Unsaved Change Enhancement [Plug-In] screenshot
  3. Done! Visit a page for which "Warn on Unsaved Changes" is turned on at both the page and item level and attempt to leave said-page with an unsaved change to observe the behavior (screenshot above as illustration).

Notes

Compatibility

This plugin can be installed APEX environments 20.2 and higher. If you wish to make use the functionality in a lower APEX environment, you can follow the steps described in this video : How to find out which Items changed in APEX

Modal Pages

This plugin defaults to not operate on Modal Pages but a setting is available to switch it on for Modal Pages too.

Further viewing / reading

This plugin was inspired by Episode #20 from the APEX Instant Tip series: How to find out which Items changed in APEX

screenshot

About

apex instant tip #20

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors