ActionForward actionForward = buildActionForward(mapping.findForward("viewRegistrationDetails"), ((DocumentRequestCreateBean) getRenderedObject()).getRegistration()); return actionForward;
return buildActionForward(mapping.findForward("viewRegistrationDetails"), ((DocumentRequestCreateBean) getRenderedObject()).getRegistration());
    public ActionForward create(ActionMapping mapping, ActionForm actionForm,            HttpServletRequest request, HttpServletResponse response) throws FenixFilterException,            FenixServiceException {        executeFactoryMethod(request);        addActionMessage(request, "document.request.created.with.success");        request.setAttribute("registration", ((DocumentRequestCreateBean) getRenderedObject())                .getRegistration());        ActionForward actionForward = buildActionForward(mapping.findForward("viewRegistrationDetails"),                ((DocumentRequestCreateBean) getRenderedObject()).getRegistration());        return actionForward;    }