ResultParticipationSimpleCreationBean simpleBean = (ResultParticipationSimpleCreationBean) RenderUtils.getViewState().getMetaObject().getObject();
final ResultParticipationSimpleCreationBean simpleBean = (ResultParticipationSimpleCreationBean) RenderUtils.getViewState().getMetaObject().getObject();
    public ActionForward createParticipationInternalPerson(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws Exception {        ResultParticipationSimpleCreationBean simpleBean = (ResultParticipationSimpleCreationBean) RenderUtils.getViewState().getMetaObject().getObject();                if(simpleBean.getPerson() != null) {            Integer oid = Integer.parseInt(request.getParameter("resultId"));            ServiceUtils.executeService(getUserView(request), "CreateResultParticipation", new Object[] {simpleBean, oid });                        mantainExternalStatus(request);            return prepareEditParticipation(mapping,form,request,response);        }        else {            //The application should never reach this point: the user may be            //creating an external person not on pourpose            throw new RuntimeException ();        }    }