/kickup/trunk/src/ak/kickup/core/action/ParticipantAction.java |
---|
131,6 → 131,8 |
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"); |
141,6 → 143,8 |
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); |
/kickup/trunk/webapp/participant/ident.jsp |
---|
45,6 → 45,7 |
<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" />"> |
58,6 → 59,10 |
</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> |