public ActionForward prepare(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
throws Exception {
InfoClass infoClass = (InfoClass) request.getAttribute(PresentationConstants.CLASS_VIEW);
final SchoolClass schoolClass = FenixFramework.getDomainObject(infoClass.getExternalId());
request.setAttribute("schoolClass", schoolClass);
// Fill out the form with the name of the class
DynaActionForm classForm = (DynaActionForm) form;
classForm.set("className", schoolClass.getEditablePartOfName());
// Get list of shifts and place them in request
List<InfoShift> infoShifts = (List<InfoShift>) ReadShiftsByClass.run(infoClass);