Inserting a MessageList

To insert a messageList component:

  1. In the Design Structure Window of the desired file, locate the node in which you wish to insert a messageList component.
  2. In the Component Palette, select Form Components from the dropdown list, and then drag and drop the messageList component to the parent node of your choice.

    The messageList node is inserted and highlighted under the expanded parent node.

  3. In the Property Inspector, set the following attributes for the messageList component:
  4. In the Design Structure Window, right-click the messageList node and choose Insert inside messageList | option.

    The option node is inserted and highlighted under the expanded messageList node.

  5. In the Property Inspector, set the following attributes for the option component:
  6. Repeat steps 4 and 5 to add the desired number of options.

Tip: For an option to be rendered as selected, ADF UIX uses these attributes in this order of precedence: selection attribute on option container, selected attribute on option component, selectedValue attribute on option container, selectedIndex on option container.

Note: To use data binding, see Data Binding a Component Attribute.

For information about message attributes, see Setting the Message Attributes for a Message Form Component. For information about other general attributes of message form components, see Setting the General Attributes for a Message Form Component.

Example (UIX XML)


...
<messageList name="mylist"
             multiple="true"
             prompt="Choose your options:">
  <contents>
    <option text="Option1" value="val1"/>
    <option text="Option2" value="val2"/>
    <option text="Option3" value="val3"/>
  </contents>
</messageList>
...    

About MessageList
About Message Form Components and Attributes

Inserting an End Named Child for a Message Form Component
Working with Form Components

 

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