return mapping.findForward("create");
}
public ActionForward edit(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
HttpServletResponse response) {
ExtraCurricularActivityType type = getDomainObject(request, "activityTypeId");
if (!type.getExtraCurricularActivitySet().isEmpty()) {
addErrorMessage(request, "errors", "error.extraCurricularActivityTypes.unableToEditUsedType", type.getName()
.getContent());
return list(mapping, actionForm, request, response);
}
request.setAttribute("extraCurricularActivityType", type);
return mapping.findForward("edit");