How to Use the pageFlowScope Scope Without Writing Java Code

5-2 Web User Interface Developers Guide for Oracle Application Development Framework While ADF Faces adheres to standard JSF event handling techniques, it also enhances event handling in two key ways by providing: ■ Ajax-based functionality partial page rendering ■ A client-side event model

5.1.1 Events and Partial Page Rendering

Unlike standard JSF events, ADF Faces events support AJAX-style partial postbacks to enable partial page rendering PPR. Instead of full page rendering, ADF Faces events and components can trigger partial page rendering, that is, only portions of a page refresh upon request. Certain components are considered event root components. Event root components determine boundaries on the page, and so allow the lifecycle to run just on components within that boundary for more information about this aspect of the lifecycle, see Section 4.3, Using the Optimized Lifecycle . When an event occurs within an event root, only those components that are children to the root are refreshed on the page. An example of an event root component is a popup. When an event happens within a popup, only the popup and its children are rerendered, and not the whole page. Additionally, certain events indicate a specific component as an event root component. For example, the disclosure event sent when a expanding or collapsing a showDetail component see Section 8.8, Displaying and Hiding Contents Dynamically , indicates that the showDetail component is a root. The lifecycle is run only on the showDetail component and any child components or other components that point to this as a trigger, and only they are rerendered when it is expanded or collapsed. Table 5–1 shows the event types in ADF Faces, and whether or not the source component is an event root. Note: Any ADF Faces component that has built-in event functionality must be enclosed in the form tag. Table 5–1 Events and Event Root Components Event Type Component Trigger Is Event Root action All command components false dialog dialog false disclosure showDetail, showDetailHeader true disclosure showDetailItem true focus tree, treeTable true launch All command components NA launchPopup inputListOfValues, inputComboboxListOfValues true load document NA poll poll true popupOpened popup NA popupOpening popup NA popupClosed popup NA