new ActionError("message.shift.no.classes", name));
new ActionError("message.shift.no.classes", infoShift.getNome()));
	public ActionForward execute(		ActionMapping mapping,		ActionForm form,		HttpServletRequest request,		HttpServletResponse response)		throws Exception {					super.execute(mapping, form, request, response);					try {			//DynaValidatorForm shiftForm = (DynaValidatorForm) form;			//String name = (String) shiftForm.get("name");			String name = request.getParameter("name");			InfoShift infoShift = getInfoShift(request);						System.out.println("InfoShift= " + infoShift);						Object[] args = { infoShift };			List infoClasses =				(List) ServiceUtils.executeService(					SessionUtils.getUserView(request),					"ReadClassesWithShiftService",					args);								if (infoClasses == null || infoClasses.isEmpty()) {				ActionErrors actionErrors = new ActionErrors();				actionErrors.add(					"message.shift.no.classes",					new ActionError("message.shift.no.classes", name));				saveErrors(request, actionErrors);				return mapping.getInputForward();			}						Collections.sort(infoClasses, new BeanComparator("nome"));			request.setAttribute("classesWithShift", infoClasses);									return mapping.findForward("sucess");		} catch (Exception e) {			e.printStackTrace(System.out);			throw new RuntimeException(e.getMessage());		}	}