Developer Tools
JDeveloper
The Create ADF Swing Edit Form dialog simplifies creating a databound form by generating the code for the objects of the data collection you select.
First you select the collection attributes you don't want to display in the master form. To select multiple attributes, Ctrl-select the radio button next to each attribute. Then click
to delete the selected attributes. You can change the attributes' display positions in the form by selecting the attribute and clicking the
or
arrow button to change the order.
By default the
TextField UI control is used to display attribute values, and the attribute id values will be used to display labels for the attributes. If you don't want to use the defaults, use the
Control dropdown list to change the UI component or deselect the
Create Label checkbox for any of the attributes.
You do not need to add a navigation bar to the master edit form because the client form already includes a navigation bar.
When you click OK, JDeveloper creates the master edit form as a new panel inside the client form.
In the Application Navigator, the source file for the Orders edit form panel is the file PanelOrdersView1Helper.java and the panel's ADF data binding definitions appear in PanelOrdersView1HelperPageDef.xml (which defines the interaction between the UI components and the business service components in the Model project).
In the Structure window of Form.java, you will notice that panelOrdersView1Helper1 is nested inside the dataPanel container.
Copyright © 1997, 2009, Oracle. All rights reserved.