}
public ActionForward transferPaymentsToOtherEventAndCancel(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws FenixServiceException {
final TransferPaymentsToOtherEventAndCancelBean transferPaymentsBean =
(TransferPaymentsToOtherEventAndCancelBean) getObjectFromViewState("transferPaymentsBean");
try {
TransferPaymentsToOtherEventAndCancel.run(transferPaymentsBean.getResponsible(),
transferPaymentsBean.getSourceEvent(), transferPaymentsBean.getTargetEvent(),
transferPaymentsBean.getCancelJustification());
} catch (DomainExceptionWithLabelFormatter ex) {
addActionMessage(request, ex.getKey(), solveLabelFormatterArgs(request, ex.getLabelFormatterArgs()));
request.setAttribute("transferPaymentsBean", transferPaymentsBean);
return mapping.findForward("chooseTargetEventForPaymentsTransfer");
} catch (DomainException ex) {
addActionMessage(request, ex.getKey(), ex.getArgs());
request.setAttribute("transferPaymentsBean", transferPaymentsBean);
return mapping.findForward("chooseTargetEventForPaymentsTransfer");
}
request.setAttribute("event", transferPaymentsBean.getSourceEvent());
return mapping.findForward("showPaymentsForEvent");
}