Inserting a MessageRadioSet

To insert a messageRadioSet:

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

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

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

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

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

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

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

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)


...
<messageRadioSet prompt="State"
                 messageType="info"
                 message="California is the sunny state."
                 selectedValue="CA"
                 name="mrs1">
  <contents>
    <option text="Alabama" value="AL" />
    <option text="Alaska" value="AK" />
    <option text="Arizona" value="AZ" />
    <option text="Arkansas" value="AR" />
    <option text="California" value="CA" />
    <option text="Colorado" value="CO" />
    ...
  </contents>
</messageRadioSet>
...    

About MessageRadioSet
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.