if(request.getAttribute("announcementTextFlag")!=null) ((InfoAnnouncement)siteView.getComponent()).setInformation((String) request.getAttribute("announcementTextFlag"));
if(request.getAttribute("announcementTextFlag") != null) actionForm.set("information", (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();        SiteView siteView = readSiteView(request, announcementComponent, null, announcementCode, null);                String information = ((InfoAnnouncement)siteView.getComponent()).getInformation();        DynaActionForm actionForm = (DynaActionForm)form;        if(information != null)            actionForm.set("information", information);                if(request.getAttribute("announcementTextFlag")!=null)            ((InfoAnnouncement)siteView.getComponent()).setInformation((String) request.getAttribute("announcementTextFlag"));                 return mapping.findForward("editAnnouncement");    }