comparison gnv/src/main/webapp/WEB-INF/jsp/index.jsp @ 569:9a5e50e7afaa

Added action and jsp for rendering histograms. gnv/trunk@687 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 15 Feb 2010 11:42:29 +0000
parents 0ce07c6e132c
children cbd397712ecf
comparison
equal deleted inserted replaced
568:f21ad239c748 569:9a5e50e7afaa
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 statistic = request.getAttribute("statistic"); 9 Object statistic = request.getAttribute("statistic");
10 Object histogram = request.getAttribute("histogram");
10 boolean furthertargets = true; 11 boolean furthertargets = true;
11 12
12 Object furthertargetsObject = request.getAttribute("furthertargets"); 13 Object furthertargetsObject = request.getAttribute("furthertargets");
13 if (furthertargetsObject != null){ 14 if (furthertargetsObject != null){
14 furthertargets = ((Boolean)furthertargetsObject).booleanValue(); 15 furthertargets = ((Boolean)furthertargetsObject).booleanValue();
50 51
51 <%-- render statistic --%> 52 <%-- render statistic --%>
52 <%if (statistic != null) {%> 53 <%if (statistic != null) {%>
53 <jsp:include page="includes/display_diagramm_statistics_inc.jsp"></jsp:include> 54 <jsp:include page="includes/display_diagramm_statistics_inc.jsp"></jsp:include>
54 <%}%> 55 <%}%>
56
57 <%-- render histogram --%>
58 <%if (histogram != null) {%>
59 <jsp:include page="includes/display_histogram_inc.jsp"></jsp:include>
60 <%}%>

http://dive4elements.wald.intevation.org