new ScheduleDateSelectEvent(component, startDate, allDay).queue();
} else if (DATE_RANGE_SELECTED_EVENT.equals(eventTypeParam)) {
Date startDate = DATE_FORMAT.parse(startDateParam);
Date endDate = DATE_FORMAT.parse(endDateParam);
boolean allDay = Boolean.parseBoolean(allDayParam);
new ScheduleDateRangeSelectEvent(component, startDate, endDate, allDay).queue();
}
} catch (ParseException ex) {
throw new FacesException("Cannot convert request parmeters", ex);
}
}