First page Back Continue Last page Text

oracle adf workshop


Debugging Interactions with the Model Layer

The processing of your JSF page in combination with Oracle ADF Model is controlled by two classes:

oracle.adf.controller.faces.lifecycle.FacesPageLifecycle class: Provides the default implementation of the phase of the ADF life cycle.

oracle.adf.controller.v2.lifecycle.PageLifecycleImpl class: Provides the starting point for creating the objects of the Oracle ADF binding context

FacesPageLifecycle implements certain methods of PageLifecycleImpl to provide customized error-handling behavior for ADF Faces applications. A good place to set a breakpoint in the FacesPageLifecycle class is on the prepareModel() method, as it initiates the first phase of the ADF life cycle. Generally, however, you set breakpoints on PageLifecycleImpl, because it is the starting point.

The successful interaction between the Web page and these objects of the Oracle ADF binding context ensures that the page’s components are displayed with correct and complete data, that methods and actions produce the desired result, and that the page renders properly with the appropriate validation errors.