focusFirstError( target );
}
} );
// Deadline
final DateTextFieldWithPicker deadlineField = new DateTextFieldWithPicker( "deadline", "Arrival deadline", this );
deadlineField.earliestDate( new LocalDate().plusDays( 1 ) );
final ComponentFeedbackPanel deadlineFeedback = new ComponentFeedbackPanel(
"deadlineFeedback", deadlineField );
add( deadlineFeedback.setOutputMarkupId( true ) );