Mercurial > dive4elements > gnv-client
annotate 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 |
rev | line source |
---|---|
982
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
1 /** |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
2 * |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
3 */ |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
4 package de.intevation.gnv.action; |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
5 |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
6 import javax.servlet.http.HttpServletRequest; |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
7 import javax.servlet.http.HttpServletResponse; |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
8 |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
9 import org.apache.struts.action.ActionForm; |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
10 import org.apache.struts.action.ActionForward; |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
11 import org.apache.struts.action.ActionMapping; |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
12 |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
13 /** |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
14 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
15 * |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
16 */ |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
17 public class MapClientStandaloneAction extends ArtifactDatabaseActionBase { |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
18 |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
19 public final static String MAPCLIENTSTANDALONE_KEY = |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
20 "de.intevation.gnv.action.MapClientStandaloneAction"; |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
21 /** |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
22 * Constructor |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
23 */ |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
24 public MapClientStandaloneAction() { |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
25 super(); |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
26 } |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
27 |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
28 @Override |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
29 public ActionForward execute(ActionMapping mapping, ActionForm form, |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
30 HttpServletRequest request, |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
31 HttpServletResponse response) throws Exception { |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
32 |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
33 request.setAttribute(MAPCLIENTSTANDALONE_KEY, true); |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
34 return super.execute(mapping, form, request, response); |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
35 } |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
36 |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
37 |
cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
38 } |