}
@Override
protected void respond(final AjaxRequestTarget target) {
final Request r = target.getPage().getRequest();
final ViewType type = ViewType.forCode(r.getRequestParameters().getParameterValue("view").toString());
final DateTimeFormatter fmt = ISODateTimeFormat.dateTimeParser().withZone(PFUserContext.getDateTimeZone());
final DateMidnight start = fmt.parseDateTime(r.getRequestParameters().getParameterValue("start").toString())
.toDateMidnight();
final DateMidnight end = fmt.parseDateTime(r.getRequestParameters().getParameterValue("end").toString())
.toDateMidnight();