Contextual events

ADF supports event-driven development, where an event is raised to mark a status of the process, and the component will subscribe for the event to proceed with the process. For example, consider a page in which a component in a page fragment inside a task flow is to be refreshed whenever the command button in that page is clicked. In this case, we cannot use partialTriggers and partialSubmit because the ID of the component will not be available in the page fragment inside the task flow that holds the component to be refreshed. In this case, the commandButton option in the outside page will raise an event named REFRESH and publish it. The component inside the page fragments will subscribe for the REFRESH event, refresh the component, ...

Get Oracle ADF 11gR2 Development Beginner's Guide 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.