comparison gnv/src/main/webapp/WEB-INF/jsp/index.jsp @ 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 cbd397712ecf
children f0f0d4eaee58
comparison
equal deleted inserted replaced
570:cbd397712ecf 571:f2ba58011a2d
4 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModel"%> 4 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModel"%>
5 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%> 5 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%>
6 <%@page import="java.util.Iterator"%> 6 <%@page import="java.util.Iterator"%>
7 <% Object ui = request.getAttribute("ui"); 7 <% Object ui = request.getAttribute("ui");
8 Object staticui = request.getAttribute("staticui"); 8 Object staticui = request.getAttribute("staticui");
9 Object chart = request.getAttribute("chart");
9 Object statistic = request.getAttribute("statistic"); 10 Object statistic = request.getAttribute("statistic");
10 Object histogram = request.getAttribute("histogram"); 11 Object histogram = request.getAttribute("histogram");
11 Object wms = request.getAttribute("wms"); 12 Object wms = request.getAttribute("wms");
12 boolean furthertargets = true; 13 boolean furthertargets = true;
13 14
44 <%}%> 45 <%}%>
45 </div> 46 </div>
46 47
47 <div id="map"></div> 48 <div id="map"></div>
48 49
50 <%-- render export options if existing for this state --%>
51 <jsp:include page="includes/display_export_inc.jsp"></jsp:include>
52
53 <%if (chart != null) {%>
49 <%-- render chart options if existing for this state --%> 54 <%-- render chart options if existing for this state --%>
50 <jsp:include page="includes/display_diagramm_inc.jsp"></jsp:include> 55 <jsp:include page="includes/display_diagramm_inc.jsp"></jsp:include>
51 56 <%}%>
52 <%-- render export options if existing for this state --%>
53 <jsp:include page="includes/display_export_inc.jsp"></jsp:include>
54 57
55 <%-- render statistic --%> 58 <%-- render statistic --%>
56 <%if (statistic != null) {%> 59 <%if (statistic != null) {%>
57 <jsp:include page="includes/display_diagramm_statistics_inc.jsp"></jsp:include> 60 <jsp:include page="includes/display_diagramm_statistics_inc.jsp"></jsp:include>
58 <%}%> 61 <%}%>

http://dive4elements.wald.intevation.org