Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/action/MapClientStandaloneAction.java @ 982:cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
gnv/trunk@1161 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 07 Jun 2010 09:54:47 +0000 |
parents | |
children | 28a0628b11b0 |
comparison
equal
deleted
inserted
replaced
981:10bee74ab915 | 982:cd9414538f10 |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.action; | |
5 | |
6 import javax.servlet.http.HttpServletRequest; | |
7 import javax.servlet.http.HttpServletResponse; | |
8 | |
9 import org.apache.struts.action.ActionForm; | |
10 import org.apache.struts.action.ActionForward; | |
11 import org.apache.struts.action.ActionMapping; | |
12 | |
13 /** | |
14 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> | |
15 * | |
16 */ | |
17 public class MapClientStandaloneAction extends ArtifactDatabaseActionBase { | |
18 | |
19 public final static String MAPCLIENTSTANDALONE_KEY = | |
20 "de.intevation.gnv.action.MapClientStandaloneAction"; | |
21 /** | |
22 * Constructor | |
23 */ | |
24 public MapClientStandaloneAction() { | |
25 super(); | |
26 } | |
27 | |
28 @Override | |
29 public ActionForward execute(ActionMapping mapping, ActionForm form, | |
30 HttpServletRequest request, | |
31 HttpServletResponse response) throws Exception { | |
32 | |
33 request.setAttribute(MAPCLIENTSTANDALONE_KEY, true); | |
34 return super.execute(mapping, form, request, response); | |
35 } | |
36 | |
37 | |
38 } |