Use the Data Control Palette to insert databound controls into an Oracle ADF JClient panel.
Note: The Data Control Palette may appear empty when you first open it. Follow the procedure below to populate the palette with business services from your model project.
To populate the Data Control Palette with business services:
Define the business services that you want your Oracle ADF application to access. The business services appear in your model project.
Register the business services in your model project with the ADF data controls. If the Data Control Palette is already open, the business services hierarchy appears in the top portion of the palette.
To ensure the Data Control Palette displays UI components in the dropdown list:
Right-click the panel document in your view project and choose Open. The panel opens in the Visual Editor.
To insert a databound UI component into the panel in the Visual Editor:
From the View menu choose Data Control Palette to open the palette.
In the top portion of the palette, select the desired data collection, attribute, or action that you want to bind to a UI component.
From the Drag and Drop As list select the UI component that you want to add to the open view document.
From the top portion of the palette, drag the desired business service into the open view document. The new UI component appears in the document you are editing.
To work with the JDeveloper design-time facilities to customize the user interface, see the related topics below.
After you lay out the data panel or form, you may improve the
performance of your JClient application by defining the
fetchAttributeProperties() method in your form.
This will ensure your form performs in batch mode to fetch attribute values
.
For details about the UI components you can select in the Data Control Palette, see:
You can customize the properties of the data binding objects at design time:
You can use the Visual Editor to arrange the UI components you added.
Copyright © 1997, 2004, Oracle. All rights reserved.