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. 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 create the detail portion of a master-detail page, always select a collection that constitutes a child node of the master collection node. If these parent-child nodes are not shown, then the business service that was registered with the ADF data control does not contain this relationship.
To view available detail collections in the Data Controls panel, you expand a parent node in the hierarchy. In the example, the master collection you used previously to create the master edit form is OrdersView1, so in the Data Controls panel you expand OrdersView1. Under OrdersView1, the detail collection you are using to create the detail portion of the client form is OrderItemsView2.
When you select a detail collection from the Data Controls panel and drag it onto the empty panel in the visual editor, JDeveloper filters the list of available controls you can drop in the context menu that appears. For example, when you drag OrderItemsView2, the context menu will show an Add Child submenu that includes table and navigation bar controls, among other collection-level UI controls that you can drop.
Copyright © 1997, 2009, Oracle. All rights reserved.