/kickup/trunk/webapp/participant/ident.jsp |
---|
45,7 → 45,6 |
<h2>Отказ от регистрации</h2> |
<logic:equal name="e" property="unregistrationAvailable" value="true"> |
<html:form action="/participant/unregister"> |
<backpath:current /> |
<input type=hidden name="event" value="<bean:write name="event" property="id" />"> |
59,10 → 58,6 |
</tr> |
</table> |
</html:form> |
</logic:equal> |
<logic:equal name="e" property="unregistrationAvailable" value="true"> |
<p>Срок отказа от регистрации прошел.</p> |
</logic:equal> |
<backpath:notEmpty><backpath:backlink>Назад</backpath:backlink></backpath:notEmpty> |
/kickup/trunk/src/ak/kickup/core/action/ParticipantAction.java |
---|
131,8 → 131,6 |
throw new UserException("ak.kickup.core.participant.edit.ident.wrong"); |
} |
// FIXME: check last unregistration date |
ParticipantManager.getInstance().delete(participant); |
request.setAttribute("event", event); |
return mapping.findForward("default"); |
143,8 → 141,6 |
Event event = EventManager.getInstance().get(eventId, true); |
Participant participant = ParticipantManager.getInstance().create(); |
// FIXME: check last registration date |
participant.setIdent(ParticipantManager.getInstance().generateIdent()); |
participant.setEvent(event); |