* @param endDateModel {@link IModel} for the <code>To</code> hidden {@link DateTextField} and visible label
*/
public SimpleCalendarPanel(String id, IModel<ContinuousCalendarOptions> optionsModel,
IModel<Date> startDateModel, IModel<Date> endDateModel) {
super(id);
ContinuousCalendar continuousCalendar = new ContinuousCalendar("continuousCalendar", optionsModel);
add(continuousCalendar);
startDateTextField = DateTextField.withConverter(
"startDate", startDateModel, getDateConverter()
);
continuousCalendar.add(startDateTextField);
endDateTextField = DateTextField.withConverter(
"endDate", endDateModel, getDateConverter()
);
continuousCalendar.add(endDateTextField);
}