if(request.getAttribute("announcementTextFlag")!=null){ SiteView siteView = (SiteView) request.getAttribute("siteView"); ((InfoAnnouncement)siteView.getComponent()).setInformation((String) request.getAttribute("announcementTextFlag")); }
    public ActionForward prepareEditAnnouncement(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws FenixActionException,            FenixFilterException {        // retrieve announcement        Integer announcementCode = getAnnouncementCode(request);        ISiteComponent announcementComponent = new InfoAnnouncement();        readSiteView(request, announcementComponent, null, announcementCode, null);        return mapping.findForward("editAnnouncement");    }