Using page templates for pop-up reuse

Back in Chapter 1, Pre-requisites to Success: ADF Project Setup and Foundations in the Using a generic backing bean actions framework recipe, we introduced a generic backing bean actions framework, called CommonActions , to handle common JSF page actions. In this recipe, we will enhance this generic actions framework by demonstrating how to add pop-up dialogs to a page template definition, that can then be reused by pages based on the template using this framework. The specific use case that we will implement in this recipe is to add a delete confirmation pop-up to the page template. This will provide a uniform delete behavior for all application pages based on this template.

Getting ready

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.