return prepare(mapping, request, outboundMobilityContextBean);
}
public ActionForward editCandidacyPeriod(final ActionMapping mapping, final ActionForm actionForm,
final HttpServletRequest request, final HttpServletResponse response) {
final OutboundMobilityCandidacyPeriod candidacyPeriod = getRenderedObject();
final OutboundMobilityContextBean outboundMobilityContextBean = new OutboundMobilityContextBean();
outboundMobilityContextBean.setExecutionYear((ExecutionYear) candidacyPeriod.getExecutionInterval());
outboundMobilityContextBean.setCandidacyPeriodsAsList(Collections.singletonList(candidacyPeriod));
RenderUtils.invalidateViewState();
return prepare(mapping, request, outboundMobilityContextBean);
}