Mercurial > dive4elements > gnv-client
annotate gnv/src/main/java/de/intevation/gnv/action/mapviewer/ShowMapViewerCallBodyAction.java @ 684:57fa8019fbdc
Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
gnv/trunk@858 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 09:40:35 +0000 |
parents | d49e8695786c |
children | 902d4de27c37 |
rev | line source |
---|---|
566
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.gnv.action.mapviewer; |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
2 |
683
d49e8695786c
Ordered imports. Removed needless imports. Removed empty headers.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
681
diff
changeset
|
3 import de.intevation.gnv.action.ArtifactDatabaseActionBase; |
d49e8695786c
Ordered imports. Removed needless imports. Removed empty headers.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
681
diff
changeset
|
4 |
566
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
5 import javax.servlet.http.HttpServletRequest; |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
6 import javax.servlet.http.HttpServletResponse; |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
7 |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
8 import org.apache.log4j.Logger; |
683
d49e8695786c
Ordered imports. Removed needless imports. Removed empty headers.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
681
diff
changeset
|
9 |
566
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
10 import org.apache.struts.action.ActionForm; |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
11 import org.apache.struts.action.ActionForward; |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
12 import org.apache.struts.action.ActionMapping; |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
13 |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
14 /** |
684
57fa8019fbdc
Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
683
diff
changeset
|
15 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
566
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
16 */ |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
17 public class ShowMapViewerCallBodyAction extends ArtifactDatabaseActionBase { |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
18 |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
19 /** |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
20 * the logger, used to log exceptions and additionally information |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
21 */ |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
22 private static Logger log = Logger |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
23 .getLogger(ShowMapViewerCallBodyAction.class); |
681
15ac78a91d1b
Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
566
diff
changeset
|
24 |
566
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
25 /** |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
26 * Constructor |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
27 */ |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
28 public ShowMapViewerCallBodyAction() { |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
29 super(); |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
30 } |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
31 |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
32 @Override |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
33 public ActionForward execute(ActionMapping mapping, ActionForm form, |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
34 HttpServletRequest request, |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
35 HttpServletResponse response) throws Exception { |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
36 log.debug("ShowMapViewerCallBodyAction.execute"); |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
37 request.setAttribute("MAPVIEWERCALL", new Boolean(true)); |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
38 return super.execute(mapping, form, request, response); |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
39 } |
5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
40 } |