Inserting a MessageDateField
To insert a messageDateField component:
-
In the Design Structure Window of the desired file, locate the node in
which you wish to insert a messageDateField component.
-
In the Component Palette, select Form Components
from the dropdown list, and then drag and drop the
messageDateField component to the parent node of your choice.
The messageDateField node is inserted
and highlighted under the expanded parent node.
-
In the Property Inspector, set the following attributes for the
messageDateField component:
-
prompt - Enter the prompt text that displays before the
text field.
-
name - (Required) Enter a name for the component.
-
maxValue - Enter the maximum date value allowed.
-
minValue - Enter the minimum date value allowed.
-
text - Enter the text value of the input field.
-
value - Enter the date value for the dateField. Use this
attribute to specify a preset date value that will display in the
text field.
-
enterClientAction - Enter the clientAction to fire when the
user presses the Enter key. In the right column, click the
icon to open a dialog. In the Advanced tab, you
can enter an EL syntax data binding expression or use the Bind to
Data dialog to select a data source for this complex attribute.
-
onBlurValidater -Enter the client validater to fire on the
client when the text field loses keyboard focus. In the right
column, click the
icon to display the dialog to edit the
onBlurValidater complex attribute.
-
onSubmitValidater - Enter the client validater to fire on
the client when the form containing the text field is submitted.
In the right column, click the
icon to display the dialog to edit the
onSubmitValidater complex attribute.
-
pickerId - Enter the id of the
inlineDatePicker component that can be used to pick the date value.
-
primaryClientAction - Enter the clientAction to fire when
the text in the text input field changes. 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.
-
secret - Select true to hide the actual value of the text
from the user. Applies only to single line text field only.
-
wrap - Select the type of wrapping to be used in a
multi-row text field only. By default multi-row text does not wrap
at the edge of the column, but scrolls horizontally instead.
Available options are:
-
hard
- Specifies that the value of the text
should include any carriage returns that are needed to wrap
the lines.
-
soft
- Specifies that the text should wrap
visually but that the value of the text does not include
carriage returns.
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)
...
<messageDateField prompt="Confirm Date"
name="bName"
value="6/5/01"
messageType="error">
<onSubmitValidater>
<date dateStyle="shortish"/>
</onSubmitValidater>
</messageDateField>
...
Related topics
About MessageDateField
About Message Form Components and Attributes
Inserting an
InlineDatePicker
Inserting an
End Named Child for a Message Form Component
Working with Form Components
Copyright © 1997, 2004, Oracle.
All rights reserved.