How Can I Control Execution in the ADF Model?

So far in this chapter, we’ve been looking at the results of drag-and-drop operations and basic binding. In this section, we’ll dig into how the ADF Model can be controlled and extended. As a basis for this investigation, we’ll look at how code can be executed as a page is loaded. This particular task touches on all of the key aspects of controlling ADFm.

We’ll start by looking at how bound operations or methods can be called when the page loads. For example, the page may need to switch into Enter Query mode when the user navigates to the page. In Oracle Forms, various triggers, such as WHEN-NEW-FORM-INSTANCE, provide the location for this kind of code. Let’s see how you would achieve the same thing ...

Get Oracle JDeveloper 10g for Forms & PL/SQL Developers: A Guide to Web Development with Oracle ADF now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.