request.setAttribute("homepage", homepage); return mapping.findForward("view-homepage");
if (homepage == null || !homepage.getActivated().booleanValue()) { final ActionMessages actionMessages = new ActionMessages(); actionMessages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("homepage.not.found")); saveMessages(request, actionMessages); return list(mapping, actionForm, request, response); } else { request.setAttribute("homepage", homepage); return mapping.findForward("view-homepage"); }
    public ActionForward show(ActionMapping mapping, ActionForm actionForm,            HttpServletRequest request, HttpServletResponse response) throws Exception {    	final String homepageIDString = request.getParameter("homepageID");    	final Integer homepageID = Integer.valueOf(homepageIDString);    	final Homepage homepage = (Homepage) readDomainObject(request, Homepage.class, homepageID);    	request.setAttribute("homepage", homepage);        return mapping.findForward("view-homepage");    }