* format page, which can also be exported to PDF XLS CSV etc
*
*/
@HandlesEvent("showTimeTable")
public Resolution showTimeTable() {
Exam examToBeDisplayed = this.examService.getExamById(new Long(this
.getContext().getRequest().getParameter("examId")));
List<IndividualExam> listOfIndividualExams = new ArrayList<IndividualExam>(
examToBeDisplayed.getIndividualExams());
this.getContext().setAttributeToRequest("timeTable",
listOfIndividualExams);
this.getContext().setAttributeToRequest("standardName",
examToBeDisplayed.getStandard().getName());
this.getContext().setAttributeToRequest("examName",
examToBeDisplayed.getDescription());
this.getContext().setAttributeToRequest("academicYear",
examToBeDisplayed.getAcademicYear().getDescription());
return new ForwardResolution("/WEB-INF/pages/showExamTimeTable.jsp");
}