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 that we created ...

Get Oracle JDeveloper 11gR2 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.