Inserting a MessageStyledText
To insert a messageStyledText component:
-
In the Design Structure Window of the desired file, locate the node in
which you wish to insert a messageStyledText component.
-
In the Component Palette, select Miscellaneous
Components from the dropdown list, and then drag and drop the
messageStyledText component to the parent node of your choice.
The messageStyledText node is inserted
and highlighted under the expanded parent node.
-
In the Property Inspector, set the following attributes for the
messageStyledText component:
-
prompt - Enter the prompt text that displays before the
text field.
-
text - Enter the text to display after the prompt.
-
destination - Enter the URI that the text should reference.
-
labeledNodeId - Enter the id of the component that this
message form component is acting as a label for.
-
primaryClientAction - Enter the clientAction to fire. 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.
-
textAndAccessKey - Use this attribute to set both the text
and access key, using conventional ampersand ('&') notation. For
example, setting this attribute to 'T&ext' will set the text to
"Text" and the access key to "e".
-
truncateAt - This is the length at which the text should be
automatically truncated. Enter a value greater than or equal to
13. UIX does not truncate strings that are shorter than 13
characters. Default is zero (no truncation).
-
To insert any indexed child component into messageStyledText, do the
following:
-
In the Component Palette, drag and drop any component to the
messageStyledText node in the Design Structure Window.
-
In the Property Inspector, set the attributes for the child
component you inserted.
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)
...
<messageStyledText text="This is the second step."
tip="There are four total steps."
<contents>
Indexed child components here
</contents>
<messageStyledText/>
...
Related topics
About MessageStyledText
About Message Form Components and Attributes
Inserting an End Named Child for a
Message Form Component
Working with Simple and Miscellaneous Components
Copyright © 1997, 2004, Oracle.
All rights reserved.