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
You will need to have access to the SharedComponents
workspace that was developed in Breaking up the application in multiple workspaces, Chapter 1, Pre-requisites to Success: ADF Project Setup and Foundations. The functionality will be added to both the CommonActions...