Inserting a MessageRadioButton
To insert a messageRadioButton:
-
In the Design Structure Window of the desired file, locate the node in
which you wish to insert a messageRadioButton component.
-
In the Component Palette, select Form Components
from the dropdown list, and then drag and drop the
messageRadioButton component to the parent node of your choice.
The messageRadioButton node is inserted
and highlighted under the expanded parent node.
-
In the Property Inspector, set the following attributes for the
messageRadioButton component:
-
text - Enter the text value of the radio button. This value
is displayed as the radio label, after the radio button.
-
name - (Required) Enter a name for the component.
-
prompt - Enter the prompt text that displays before the
radio button.
-
value - Enter the string value to send when this radio
button is selected. Note that this radio button will be rendered
as selected if the selectedValue attribute is equal to the value
attribute.
-
selected - Select true to indicate that the radio button is
currently selected. Default is false.
-
primaryClientAction - Enter the clientAction to fire when
the radio button is clicked. In the right column, click the
icon to enter a ClientAction. See
Editing the PrimaryClientAction Attribute for details. Alternatively, use
the Advanced tab to enter an EL syntax
data binding expression or use the Bind to Data dialog to select a
data source for this complex attribute.
-
selectedValue - Enter the value of the selected radio
button.
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: selected
attribute on radio button component, selectedValue attribute on radio
button 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)
...
<messageRadioButton text="Home"
name="ship"
selected="true"
value="useHome"
prompt="Choose shipping destination:"/>
...
Related topics
About MessageRadioButton
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.