Jakarta > Tapestry
Jakarta
 
Font size:      

DateField

Backwards compatible version of the 1.0.7 DateField 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 date property to edit.
required boolean in no false If true, then a value must be entered.
minimum java.util.Date in no   If provided, the date entered must be equal to or later than the provided minimum date.
maximum java.util.Date in no   If provided, the date entered must be less than or equal to the provided maximum date.
displayName String in yes   A textual name for the field that is used when formulating error messages.
format java.text.DateFormat in no MM/dd/yyyy The format used to display and parse dates.
displayFormat String in no MM/dd/yyyy The format string presented to the user if the date entered is in an incorrect format. e.g. the format object throws a ParseException.

Body: removed

Informal parameters: allowed

Reserved parameters: name, type, value, size, maxlength