Jakarta > Tapestry
Jakarta
 

ValidatingTextField

Backwards compatible version of the 1.0.7 ValidatingTextField component.

See also: ValidField

Warning
This component has been deprecated; Tapestry 4.0 adds even better support for validation to TextField, TextArea and most other form element component.

Parameters

Name Type Direction Required Default Description
text String in/out yes   The text inside the text field. When the form is submitted, the binding is only updated if the value is valid.
required boolean in no false If true, then a value must be entered.
minimumLength int in no 0 The minimum length (number of characters read) for the field. The value provided in the request is trimmed of leading and trailing whitespace. If a field is not required and no value is given, then minimumLength is ignored. Minimum length only applies if some non-null value is given.
displayName String in yes   A textual name for the field that is used when formulating error messages.

Body: removed

Informal parameters: allowed

Reserved parameters: type, value