First page Back Continue Last page Text

oracle adf workshop

Notes:


Types of Bindings

Oracle ADF provides several types of binding objects to support the attributes and operations exposed by the Oracle ADF data controls for a particular business object.:

Iterator binding, one per accessor attribute that your page or panel displays. Iterates over the business objects of the data collection and maintains the row currency and state. The slide shows an iterator binding as depicted in a page definition file (more on this shortly.) Value bindings, one for each databound UI component. It provides access to data.

Action binding, specifically defined for command components. It provides access to operations or methods defined by the business object.

Iterators are usually created for you so that you don’t have to create them explicitly. One exception is that when creating a list binding, you often have to create a new iterator for the displayed items. This is done from the list binding editor, as described later in this lesson. There are four types of iterator bindings:

Iterator: Iterates over a collection. When you drop a VO from the Data Controls panel onto a page, an iterator is created automatically, as depicted in the slide.

Method iterator: Iterates over the results returned by a method

Note: The screenshot in the slide is from a page definition file, which you learn about shortly.