public ActionForward createLessonPlanning(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws FenixServiceException {
IViewState viewState = RenderUtils.getViewState();
final CreateLessonPlanningBean lessonPlanningBean = (CreateLessonPlanningBean) viewState.getMetaObject().getObject();
try {
CreateLessonPlanning.runCreateLessonPlanning(lessonPlanningBean.getExecutionCourse().getExternalId(),
lessonPlanningBean.getTitle(), lessonPlanningBean.getPlanning(), lessonPlanningBean.getLessonType(),
lessonPlanningBean.getExecutionCourse());
} catch (DomainException e) {
addActionMessage(request, e.getKey(), e.getArgs());
request.setAttribute("lessonPlanningBean", lessonPlanningBean);
return forward(request, "/teacher/executionCourse/createLessonPlanning.jsp");
}