return DATE_PATTERN;
}
};
date01TextField.setMarkupId("date01");
DatePickerOptions datePickerOptions = new DatePickerOptions().clickInput(true).allowDateInPast(true, DATE_PATTERN);
date01TextField.add(new DatePickerBehavior(datePickerOptions));
final Form form = new Form("myForm", new CompoundPropertyModel(this)) {
@Override
protected void onSubmit() {
info("Date is set to :" + date01);