comparison gnv/src/main/webapp/WEB-INF/jsp/index.jsp @ 410:9602f4bffc07

Added statistic to the actions if available. gnv/trunk@604 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 22 Jan 2010 13:58:30 +0000
parents b5733f9f386b
children 8e39c74f9fb6
comparison
equal deleted inserted replaced
409:df78178e1180 410:9602f4bffc07
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 statistic = request.getAttribute("statistic");
9 boolean furthertargets = true; 10 boolean furthertargets = true;
10 11
11 Object furthertargetsObject = request.getAttribute("furthertargets"); 12 Object furthertargetsObject = request.getAttribute("furthertargets");
12 if (furthertargetsObject != null){ 13 if (furthertargetsObject != null){
13 furthertargets = ((Boolean)furthertargetsObject).booleanValue(); 14 furthertargets = ((Boolean)furthertargetsObject).booleanValue();
39 <%-- render chart options if existing for this state --%> 40 <%-- render chart options if existing for this state --%>
40 <jsp:include page="includes/display_diagramm_inc.jsp"></jsp:include> 41 <jsp:include page="includes/display_diagramm_inc.jsp"></jsp:include>
41 42
42 <%-- render export options if existing for this state --%> 43 <%-- render export options if existing for this state --%>
43 <jsp:include page="includes/display_export_inc.jsp"></jsp:include> 44 <jsp:include page="includes/display_export_inc.jsp"></jsp:include>
45
46 <%-- render statistic --%>
47 <%if (statistic != null) {%>
48 <jsp:include page="includes/display_diagramm_statistics_inc.jsp"></jsp:include>
49 <%}%>

http://dive4elements.wald.intevation.org