Mercurial > dive4elements > gnv-client
view gnv/src/main/java/de/intevation/gnv/action/mapviewer/ShowMapViewerCallBodyAction.java @ 566:5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
gnv/trunk@681 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 12 Feb 2010 09:55:59 +0000 |
parents | |
children | 15ac78a91d1b |
line wrap: on
line source
/** * */ package de.intevation.gnv.action.mapviewer; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import de.intevation.gnv.action.ArtifactDatabaseActionBase; /** * @author Tim Englich <tim.englich@intevation.de> * */ public class ShowMapViewerCallBodyAction extends ArtifactDatabaseActionBase { /** * the logger, used to log exceptions and additionally information */ private static Logger log = Logger .getLogger(ShowMapViewerCallBodyAction.class); /** * Constructor */ public ShowMapViewerCallBodyAction() { super(); } @Override public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { log.debug("ShowMapViewerCallBodyAction.execute"); request.setAttribute("MAPVIEWERCALL", new Boolean(true)); return super.execute(mapping, form, request, response); } }