HttpServletResponse response) { final ResultPublicationBean bean = (ResultPublicationBean) getRenderedObject(null); Result publicationChanged = Result.readByOid(bean.getIdInternal());  RenderUtils.invalidateViewState();  if (getFromRequest(request, "confirm") != null) { if (!checkBean(request, bean)) { return mapping.findForward("PreparedToEdit"); } try { final Object[] args = { bean }; publicationChanged = (ResultPublication) executeService(request, "EditResultPublication", args); } catch (DomainException ex) { addActionMessage(request, ex.getKey()); request.setAttribute("publicationBean", bean); return mapping.findForward("PreparedToEdit"); } catch (Exception ex) { return listPublications(mapping, form, request, response); } }
HttpServletResponse response) { final ResultPublicationBean bean = (ResultPublicationBean) getRenderedObject(null); Result publicationChanged = Result.readByOid(bean.getIdInternal());
    public ActionForward editData(ActionMapping mapping, ActionForm form, HttpServletRequest request,	    HttpServletResponse response) {	final ResultPublicationBean bean = (ResultPublicationBean) getRenderedObject(null);	Result publicationChanged = Result.readByOid(bean.getIdInternal());		RenderUtils.invalidateViewState();		if (getFromRequest(request, "confirm") != null) {	    if (!checkBean(request, bean)) {		return mapping.findForward("PreparedToEdit");	    }	    try {		final Object[] args = { bean };		publicationChanged = (ResultPublication) executeService(request, "EditResultPublication", args);	    } catch (DomainException ex) {		addActionMessage(request, ex.getKey());		request.setAttribute("publicationBean", bean);		return mapping.findForward("PreparedToEdit");	    } catch (Exception ex) {		return listPublications(mapping, form, request, response);	    }	}	request.setAttribute("resultId", publicationChanged.getIdInternal());	return prepareEdit(mapping, form, request, response);    }