About MessageTextInput

The messageTextInput component is a combination of the textInput component and messageLayout component.

Use the messageTextInput component to insert a standard browser text input field with a prompt and optional message type icon. The inline message is placed below the input field. You can also use the end named child to add a component after the text input field.

Text input field with prompt, error icon, and b

Use the columns, rows, and maximumLength attributes to specify the number of columns and rows to display in the text field, and the maximum number of characters per line that can be entered.

In addition to general and message attributes, you can also set the primaryClientAction attribute to fire an event when text is entered or changed in the input field.

Note: If a DecimalValidater is attached, text is entered in numeric format (right aligned for most locales).

...
<messageTextInput prompt="Any number:" 
                  name="number">
  <onBlurValidater>
    <decimal/>
  </onBlurValidater>
</messageTextInput>
...    

About MessageLayout
About Message Form Components and Attributes

Inserting a MessageTextInput
Working with Form Components

 

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