Using an af:popup to handle pending changes
In the recipe Determining whether the current transaction has pending changes in this chapter, we showed how to establish whether there are uncommitted pending changes to the current transaction. In this recipe, we will use the functionality implemented in that recipe to provide a generic way to handle any pending uncommitted transaction changes. Specifically, we will update the CommonActions
framework introduced in Using a generic backing bean actions framework, Chapter 1, Pre-requisites to Success: ADF Project Setup and Foundations to raise a pop-up message window asking you whether you want to commit the changes. We will add the pop-up window to the TemplateDef1
page template definition ...
Get Oracle JDeveloper 11gR2 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.