comparison 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
comparison
equal deleted inserted replaced
565:8355d7cacd09 566:5aea89b9a350
1 /**
2 *
3 */
4 package de.intevation.gnv.action.mapviewer;
5
6 import javax.servlet.http.HttpServletRequest;
7 import javax.servlet.http.HttpServletResponse;
8
9 import org.apache.log4j.Logger;
10 import org.apache.struts.action.ActionForm;
11 import org.apache.struts.action.ActionForward;
12 import org.apache.struts.action.ActionMapping;
13
14 import de.intevation.gnv.action.ArtifactDatabaseActionBase;
15
16 /**
17 * @author Tim Englich <tim.englich@intevation.de>
18 *
19 */
20 public class ShowMapViewerCallBodyAction extends ArtifactDatabaseActionBase {
21
22 /**
23 * the logger, used to log exceptions and additionally information
24 */
25 private static Logger log = Logger
26 .getLogger(ShowMapViewerCallBodyAction.class);
27
28 /**
29 * Constructor
30 */
31 public ShowMapViewerCallBodyAction() {
32 super();
33 }
34
35 @Override
36 public ActionForward execute(ActionMapping mapping, ActionForm form,
37 HttpServletRequest request,
38 HttpServletResponse response) throws Exception {
39 log.debug("ShowMapViewerCallBodyAction.execute");
40 request.setAttribute("MAPVIEWERCALL", new Boolean(true));
41 return super.execute(mapping, form, request, response);
42 }
43
44
45
46 }

http://dive4elements.wald.intevation.org