tell me more icon Data Controls Panel and UI Controls

The task of designing databound forms that coordinate with a back-end business service is accomplished declaratively with the Data Controls panel. The Data Controls panel affords the UI designer a hierarchical view of those business services that the application developer has registered with an instance of an Oracle ADF data control.

Data Controls panel in the Application Navigator

In the example, the name of the data control you will be using is data control icon AppModuleDataControl. The data control captures the master-detail relationships exposed by business service collections, and the Data Controls panel displays those relationships as parent and child nodes in the hierarchy. To view the available detail collections, expand a parent node in the hierarchy. In the example, Data Objects icon OrdersView1 is the master collection; Data Objects icon OrderItemsView2 that is under Data Objects icon OrdersView1 is the detail collection. Under a collection, you will see the available attributes of the collection as child nodes.

Data Controls panel expanded

With the aid of the Data Controls panel, UI design is a series of drag-and-drop steps. The list of available UI controls you can drop appears in a context menu when you drag and drop the data object selected from the Data Controls panel onto the form in the visual editor. Only the UI controls that are appropriate to display the chosen data object (collection or attribute) will appear in the context menu. For example, if you drag an attribute of a collection from the Data Controls panel, the selection menu filters the choices so all attribute-level controls (such as text fields and labels) appear in the list.

Context menu when you drop an attribute

If you drag a collection from the Data Controls panel, your UI choices would not include a text field, but would include choices such as tables and navigation bars.

Context menu when you drop a collection

In the example, you will drag the collection Data Objects icon OrdersView1 and drop it as an Edit Form on the client form:

Java visual editor, context menu Add Edit Form

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

false ,,,,,,,,,,,,,,,