About the Oracle ADF Bindings

Oracle Application Development Framework (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:

You create these bindings in JDeveloper through your interaction with the Data Control Palette, a visual editor, the Structure window, and the Property Inspectory. You can view the binding in your application in any one of several ways:

The following sections describe the various bindings.

About the Iterator Binding

The oracle.jbo.uicli.binding.JUIteratorBinding class implements the iterator binding.

The iterator binding is a runtime object that your application creates to access the Oracle ADF binding context. The iterator binding holds references to the bound data collection, accesses it, and iterates over its data objects. The iterator binding notifies value bindings of row currency and row state. Then, value bindings that you define allow UI components to display or update the current data object of the collection being iterated over. In this way, the iterator binding provides uniform access to various collection types from different business services.

In the case of an ADF Business Components view object, the ADF bindings for the UI components may be able to display a row currency indicator. In a table, for example, the current row is identified at runtime by an asterisk (*) symbol displayed in the first column of that row. The currency indicator is available only through the iterator binding when the bound view object has a key attribute defined. When no key attribute is defined for the bound view object, each row of the table will display the asterisk. In this case, you can edit the UI component in the visual editor to prevent the asterisks from displaying at runtime.

The iterator binding defines its own set of runtime properties.

About the Value Bindings

Attribute Value Binding

The oracle.jbo.uicli.binding.JUCtrlValueBinding class implements the attribute value binding.

The attribute value binding permits the databound UI component to obtain the attribute value of the specified collection's data object. Depending on the type of UI component, users may view and, in some cases, edit the value of the attribute.

The attribute value binding defines its own set of runtime properties.

Boolean Value Binding

The oracle.jbo.uicli.binding.JUCtrlBoolBinding class implements the boolean binding.

The boolean binding obtains the attribute value of the specified collection's data object based on the control's selection state.

The boolean value binding defines its own set of runtime properties.

List Value Binding

The oracle.jbo.uicli.binding.JUCtrlListBinding class implements the list binding.

Depending on the type of UI component, the list binding may:

The list value binding defines its own set of runtime properties.

Range Value Binding

The oracle.jbo.uicli.binding.JUCtrlRangeBinding class implements the range binding.

The range binding permits the databound UI component to obtain a range of attribute values from the specified collection's data objects and to display the position of the current data object relative to that range.

The range value binding defines its own set of runtime properties.

Scroll Value Binding

The oracle.jbo.uicli.binding.JUCtrlScrollBinding class implements the scroll binding.

The scroll binding permits the databound UI component to display the current position of the data object in the selected collection. When the user scrolls the UI component, the scroll binding maintains the current position in the collection.

The scroll value binding defines its own set of runtime properties.

About the Action Binding

The oracle.jbo.uicli.binding.JUCtrlActionBinding class implements the action binding.

The action binding is a type of binding object defined by Oracle ADF that performs actions on the bound data collection&rsquos row set iterator. At runtime, when the user initiates the action, using a button control, the action binding accesses the Oracle ADF binding context and initiates the specified action on the data objects of the selected collection. The action binding supports many predefined actions.

The action binding defines its own set of runtime properties.

For information about how the ADF binding context provides access to these bindings objects at runtime, see About the Oracle ADF Client Binding Context.


To work with the Data Control Palette:

To customize the bindings:

 

Copyright © 1997, 2004, Oracle. All rights reserved.