ResultEventAssociationFullCreationBean fullBean = (ResultEventAssociationFullCreationBean) RenderUtils.getViewState().getMetaObject().getObject(); final IUserView userView = getUserView(request); Integer oid = Integer.parseInt(request.getParameter("resultId"));  ServiceUtils.executeService(userView, "CreateResultEventAssociation", new Object[] { fullBean, oid });
try { ServiceUtils.executeService(userView, "CreateResultEventAssociation", args); } catch (InvalidArgumentsServiceException e) { addActionMessage(request, "error.Result.not.found"); } catch (FenixServiceException e) { addActionMessage(request, e.getMessage()); } catch (DomainException e) { addActionMessage(request, e.getKey()); }
    public ActionForward createEventAssociationFull(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws Exception {                ResultEventAssociationFullCreationBean fullBean = (ResultEventAssociationFullCreationBean) RenderUtils.getViewState().getMetaObject().getObject();        final IUserView userView = getUserView(request);        Integer oid = Integer.parseInt(request.getParameter("resultId"));                ServiceUtils.executeService(userView, "CreateResultEventAssociation", new Object[] { fullBean, oid });                return prepareEditEventAssociations(mapping, form, request, response);    }       