public ActionForward viewThesis( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { final String thesisIdString = request.getParameter("thesisID"); final Thesis thesis = FenixFramework.getDomainObject(thesisIdString); request.setAttribute("thesis", thesis); final ThesisPresentationState thesisPresentationState = ThesisPresentationState.getThesisPresentationState(thesis); ; request.setAttribute("thesisPresentationState", thesisPresentationState); return mapping.findForward("viewThesis"); }
public ThesisPresentationWrapper(final Thesis thesis) { this.thesis = thesis; this.thesisPresentationState = ThesisPresentationState.getThesisPresentationState(thesis); ; }