public class UnEnrollStudentInGroupDispatchAction extends FenixDispatchAction {
public ActionForward prepareRemove(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws FenixActionException {
User userView = getUserView(request);
String studentGroupCodeString = request.getParameter("studentGroupCode");
String shiftCodeString = request.getParameter("shiftCode");
request.setAttribute("shiftCode", shiftCodeString);
try {
VerifyStudentGroupAtributes.run(null, null, studentGroupCodeString, userView.getUsername(), new Integer(3));
} catch (NotAuthorizedException e) {
ActionErrors actionErrors = new ActionErrors();
ActionError error = null;
error = new ActionError("errors.noStudentInAttendsSetToDelete");