Inserting UI Components Using the Data Control Palette

Use the Data Control Palette to design databound forms for client documents supported by the Oracle Application Development Framework (Oracle ADF) data binding framework.

Your databound application may include:

Note: The Data Control Palette may appear empty when you first open it. Complete the prerequisite steps to populate the palette with business services from your model project.

To insert a databound UI component in the open web page or ADF JClient form in the Visual Editor:

  1. Create the ADF-enabled web page or ADF-enabled Swing panel and open it in the Visual Editor.

  2. Choose View | Data Control Palette to open the palette.

    The Data Control Palette opens with the previously registered business services displayed in the top portion of the tool.

  3. In the top portion of the palette, select the desired data collection, attribute, or operation that you want to bind to a UI component.

  4. From the Drag and Drop As list select the UI component that you want to add to the open view document.

    The Data Control Palette detects the type of application your project defines and displays the appropriate components for a JClient form, Stuts-based JSP, Model 1 JSP, or ADF UIX page.

  5. From the top portion of the palette, drag the desired business service object into the open view document. The new UI component appears in the document you are editing.

    When the component you insert into a Struts-based web page requires a Form element, such as an input field, JDeveloper will prompt you to insert the component inside a Form that it creates for you. The Form element is used at runtime to submit the values with the Request object and contains placeholder text to specify the target Struts action:

    <html:form action="/Handle_This_Form.do">

    You must edit the action attribute to specify the name of the action that your page flow uses to handle the form input. For example, change /Handle_This_form.do to /MyActionName.do when the name of the action is MyActionName.

To work with the JDeveloper design-time facilities to customize the user interface, see the related topics below.


For details about the hierarchy displayed by the Data Control Palette:

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.