public ActionForward createEntry(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
HttpServletResponse response) throws Exception {
CalendarEntryBean bean = getRenderedObject("createdEntryBeanID");
AcademicCalendarEntry entry = null;
try {
entry = CreateAcademicCalendarEntry.run(bean, true);
} catch (DomainException e) {
addActionMessage(request, e.getMessage(), e.getArgs());
request.setAttribute("parentEntryBean", bean);
return mapping.findForward("prepareCreateCalendarEntry");
}
return generateGanttDiagram(mapping, request, CalendarEntryBean.createCalendarEntryBeanToCreateEntry(
entry.getRootEntry(), entry, bean.getBeginDateToDisplay(), bean.getEndDateToDisplay()));
}