/kickup/trunk/src/ak/kickup/core/action/ActAction.java |
---|
File deleted |
/kickup/trunk/src/ak/kickup/core/action/ParticipantAction.java |
---|
236,14 → 236,7 |
ParticipantManager.getInstance().save(participant); |
try { |
Messages.sendRegistrationMessage(participant, request.getRemoteAddr()); |
} |
catch(Exception ex) { |
request.setAttribute("event", event); |
initLists(request, event); |
throw ex; |
} |
Messages.sendRegistrationMessage(participant, request.getRemoteAddr()); |
response.sendRedirect(BackPath.findBackPath(request).getBackwardUrl()); |
return null; |
/kickup/trunk/src/ak/kickup/core/action/AdminParticipantAction.java |
---|
205,16 → 205,8 |
participant.setPrivateComment((String)theForm.get("privateComment")); |
ParticipantManager.getInstance().save(participant); |
if(newParticipant) { |
try { |
Messages.sendRegistrationMessage(participant, null); |
} |
catch(Exception ex) { |
request.setAttribute("event", event); |
initLists(request, event); |
throw ex; |
} |
} |
if(newParticipant) |
Messages.sendRegistrationMessage(participant, null); |
response.sendRedirect(BackPath.findBackPath(request).getBackwardUrl()); |
return null; |
/kickup/trunk/src/ak/kickup/core/action/TransportAction.java |
---|
33,7 → 33,7 |
Long eventId = StringConverter.parseLong(theForm.get("event")); |
Event event = EventManager.getInstance().get(eventId, true); |
List list = new ArrayList(ParticipantManager.getInstance().listFreeTransport(event)); |
Collections.sort(list, ParticipantManager.FROM_ZIP_COMPARATOR); |
Collections.sort(list, ParticipantManager.NICK_COMPARATOR); |
request.setAttribute("participants", list); |
request.setAttribute("event", event); |
return mapping.findForward("default"); |