final IUserView userView = getUserView(request);  ResultUnitAssociationCreateBean bean = (ResultUnitAssociationCreateBean)RenderUtils.getViewState().getMetaObject().getObject();
final ResultUnitAssociationCreateBean bean = (ResultUnitAssociationCreateBean)RenderUtils.getViewState().getMetaObject().getObject(); final Integer oid = Integer.parseInt(request.getParameter("resultId")); final Object[] args = { bean, oid, getUserView(request).getPerson().getName() };
    public ActionForward createUnitAssociation(ActionMapping mapping,ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws Exception {        final IUserView userView = getUserView(request);        ResultUnitAssociationCreateBean bean = (ResultUnitAssociationCreateBean)RenderUtils.getViewState().getMetaObject().getObject();                Integer oid = Integer.parseInt(request.getParameter("resultId"));        ServiceUtils.executeService(userView, "CreateResultUnitAssociation", new Object[] { bean, oid });                return prepareEditUnitAssociations(mapping, form, request, response);    }