Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/action/CreateChartAction.java @ 571:f2ba58011a2d
Added histogram option panel. Show chart/histogram options panel after the user selected chart or histogram. Moved options panel beneath action panel.
gnv/trunk@699 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 23 Feb 2010 10:36:02 +0000 |
parents | |
children | 602521c3fac3 |
comparison
equal
deleted
inserted
replaced
570:cbd397712ecf | 571:f2ba58011a2d |
---|---|
1 package de.intevation.gnv.action; | |
2 | |
3 import javax.servlet.http.HttpServletRequest; | |
4 import javax.servlet.http.HttpServletResponse; | |
5 | |
6 import org.apache.log4j.Logger; | |
7 | |
8 import org.apache.struts.action.ActionForm; | |
9 import org.apache.struts.action.ActionForward; | |
10 import org.apache.struts.action.ActionMapping; | |
11 | |
12 | |
13 /** | |
14 * @author Ingo Weinzierl (ingo.weinzierl@intevation.de) | |
15 */ | |
16 public class CreateChartAction extends DescribeUIAction { | |
17 | |
18 private static Logger logger = Logger.getLogger(CreateChartAction.class); | |
19 | |
20 | |
21 public CreateChartAction() { | |
22 super(); | |
23 } | |
24 | |
25 | |
26 @Override | |
27 public ActionForward execute( | |
28 ActionMapping mapping, | |
29 ActionForm form, | |
30 HttpServletRequest request, | |
31 HttpServletResponse response) | |
32 throws Exception { | |
33 logger.debug("Create chart."); | |
34 | |
35 request.setAttribute("chart", true); | |
36 | |
37 return super.execute(mapping, form, request, response); | |
38 } | |
39 } | |
40 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |