@Override
protected void onOptionsPanelCreate(final FieldsetPanel optionsFieldsetPanel, final DivPanel optionsCheckBoxesPanel)
{
{
optionsFieldsetPanel.setOutputMarkupId(true);
startDate = new DatePanel(optionsFieldsetPanel.newChildId(), new PropertyModel<Date>(getSearchFilter(), "startDate"),
DatePanelSettings.get().withSelectPeriodMode(true));
optionsFieldsetPanel.add(dependentFormComponents[0] = startDate);
optionsFieldsetPanel.setLabelFor(startDate);
optionsFieldsetPanel.add(new DivTextPanel(optionsFieldsetPanel.newChildId(), " - "));
endDate = new DatePanel(optionsFieldsetPanel.newChildId(), new PropertyModel<Date>(getSearchFilter(), "endDate"), DatePanelSettings
.get().withSelectPeriodMode(true));
optionsFieldsetPanel.add(dependentFormComponents[1] = endDate);
{
final SubmitLink unselectPeriod = new SubmitLink(IconLinkPanel.LINK_ID) {
@Override