All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IGenericComponent<LocalDate,FormComponent<LocalDate>>, IMetadataContext<Serializable,Component>, AbstractTextComponent.ITextFormatProvider, IFormModelUpdateListener, IFormVisitorParticipant, ILabelProvider<String>, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

A TextField that is mapped to a LocalDate object.

If no date pattern is explicitly specified, the default DateFormat.SHORT pattern for the current locale will be used.

Author:
miha, Urs Joss
See Also:
  • Constructor Details

    • LocalDateTextField

      public LocalDateTextField(String markupId)
      Parameters:
      markupId - The id of the text field
    • LocalDateTextField

      public LocalDateTextField(String markupId, String datePattern)
      Parameters:
      markupId - The id of the text field
      datePattern - The format of the date
    • LocalDateTextField

      public LocalDateTextField(String markupId, IModel<LocalDate> model)
      Parameters:
      markupId - The id of the text field
      model - The date model
    • LocalDateTextField

      public LocalDateTextField(String markupId, IModel<LocalDate> model, String dateFormat)
      Parameters:
      markupId - The id of the text field
      model - The date model
      dateFormat - The format of the date
    • LocalDateTextField

      public LocalDateTextField(String markupId, IModel<LocalDate> model, LocalDateTextFieldConfig config)
      Parameters:
      markupId - The id of the text field
      model - The date model
      config - The configuration of this field
    • LocalDateTextField

      public LocalDateTextField(String markupId, LocalDateTextFieldConfig config)
      Parameters:
      markupId - The id of the text field
      config - The configuration of this field