annotate gnv/src/main/webapp/WEB-INF/jsp/index.jsp @ 1022:28a0628b11b0

Added license file and license header. gnv/trunk@1258 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 02 Nov 2010 17:15:08 +0000
parents 1b42a86184f6
children
rev   line source
1022
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1008
diff changeset
1 <%--
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1008
diff changeset
2 Copyright (c) 2010 by Intevation GmbH
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1008
diff changeset
3
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1008
diff changeset
4 This program is free software under the LGPL (>=v2.1)
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1008
diff changeset
5 Read the file LGPL.txt coming with the software for details
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1008
diff changeset
6 or visit http://www.gnu.org/licenses/ if it does not exist.
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1008
diff changeset
7 --%>
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1008
diff changeset
8
18
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
9 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
665
27f25b9ae9af Improved exception handling. Display error messages after invalid user input.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 584
diff changeset
10 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-el" prefix="bean-el" %>
1008
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
11 <%@page import="java.util.Collection"%>
8
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 4
diff changeset
12 <%@page import="de.intevation.gnv.artifactdatabase.objects.ArtifactObject"%>
665
27f25b9ae9af Improved exception handling. Display error messages after invalid user input.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 584
diff changeset
13 <%@page import="de.intevation.gnv.action.CommunicationKeys"%>
8
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 4
diff changeset
14 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModel"%>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 4
diff changeset
15 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%>
1008
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
16 <%@page import="java.util.Iterator"%>
581
f0f0d4eaee58 Display chart when reaching a final state which doesn't need any further user input (issue184).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 571
diff changeset
17 <%
1008
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
18 String exception = (String)request.getAttribute(CommunicationKeys.REQUEST_EXCEPTION_INPUT_ID);
581
f0f0d4eaee58 Display chart when reaching a final state which doesn't need any further user input (issue184).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 571
diff changeset
19 SessionModel sm = SessionModelFactory.getInstance().getSessionModel(request);
f0f0d4eaee58 Display chart when reaching a final state which doesn't need any further user input (issue184).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 571
diff changeset
20 Object ui = request.getAttribute("ui");
408
b5733f9f386b Design improvements: Moved chart option panel and export actions beneath the parameterization panel on the left side. Do not render a useless 'draw' button after reaching the final state.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 404
diff changeset
21 Object staticui = request.getAttribute("staticui");
571
f2ba58011a2d Added histogram option panel. Show chart/histogram options panel after the user selected chart or histogram. Moved options panel beneath action panel.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 570
diff changeset
22 Object chart = request.getAttribute("chart");
410
9602f4bffc07 Added statistic to the actions if available.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 408
diff changeset
23 Object statistic = request.getAttribute("statistic");
569
9a5e50e7afaa Added action and jsp for rendering histograms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 413
diff changeset
24 Object histogram = request.getAttribute("histogram");
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
25 Object wms_published = request.getAttribute("wms_published");
1008
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
26 boolean furthertargets = true;
581
f0f0d4eaee58 Display chart when reaching a final state which doesn't need any further user input (issue184).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 571
diff changeset
27
971
a0e6566cd111 Integrated Openlayers using ext and geoext into the GNV-WebClient
Tim Englich <tim.englich@intevation.de>
parents: 710
diff changeset
28 if (chart == null && statistic == null && histogram == null && wms_published == null) {
581
f0f0d4eaee58 Display chart when reaching a final state which doesn't need any further user input (issue184).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 571
diff changeset
29 boolean supportChart = sm.getOutputMode("chart") != null;
f0f0d4eaee58 Display chart when reaching a final state which doesn't need any further user input (issue184).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 571
diff changeset
30 if (supportChart) {
f0f0d4eaee58 Display chart when reaching a final state which doesn't need any further user input (issue184).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 571
diff changeset
31 chart = "true";
f0f0d4eaee58 Display chart when reaching a final state which doesn't need any further user input (issue184).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 571
diff changeset
32 }
f0f0d4eaee58 Display chart when reaching a final state which doesn't need any further user input (issue184).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 571
diff changeset
33 }
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
34
1008
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
35 Object furthertargetsObject = request.getAttribute("furthertargets");
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
36 if (furthertargetsObject != null){
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
37 furthertargets = ((Boolean)furthertargetsObject).booleanValue();
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
38 }
694
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
39
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
40 Object exceptionMessage = request.getAttribute(CommunicationKeys.REQUEST_EXCEPTION_MESSAGE_ID);
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
41 exceptionMessage = (exceptionMessage != null ? exceptionMessage.toString().replaceAll(" ", ".").replaceAll(":",".").toLowerCase() : null);
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
42 exceptionMessage = (exceptionMessage != null && exceptionMessage.toString().endsWith(".") ? exceptionMessage.toString().substring(0,exceptionMessage.toString().length()-1) : exceptionMessage);
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
43
991
33198e55371c Improved session handling in the gui. If a session has timed out, the user gets to the start point - the fis selection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
44 Object sessionException = request.getAttribute(CommunicationKeys.REQUEST_EXCEPTION_SESSION_ID);
33198e55371c Improved session handling in the gui. If a session has timed out, the user gets to the start point - the fis selection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
45 sessionException = (sessionException != null ? sessionException.toString().replaceAll(" ", ".").replaceAll(":",".").toLowerCase() : null);
33198e55371c Improved session handling in the gui. If a session has timed out, the user gets to the start point - the fis selection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
46 sessionException = (sessionException != null && sessionException.toString().endsWith(".") ? sessionException.toString().substring(0,sessionException.toString().length()-1) : sessionException);
33198e55371c Improved session handling in the gui. If a session has timed out, the user gets to the start point - the fis selection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
47
694
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
48 boolean showmapviewercallBody = request.getAttribute("MAPVIEWERCALL") != null;
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
49
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
50 String exceptionProject = (String) request.getAttribute(CommunicationKeys.REQUEST_EXCEPTION_PROJECT);
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
51 exceptionProject = exceptionProject != null ? exceptionProject.toLowerCase() : null;
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
52 exceptionProject = exceptionProject != null ? exceptionProject.replaceAll(" ", ".") : null;
12
4ebe57b170d3 Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents: 11
diff changeset
53 %>
694
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
54
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
55 <%-- div container for project loading/saving and error messages related to this --%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
56 <div id="project">
695
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
57 <table width="100%">
694
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
58 <tr>
695
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
59 <td style="float: left; width: 225px;">
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
60 <a href="<%=response.encodeURL("store.do")%>"><bean:message key="gnviewer.project.save"/></a>
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
61 |
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
62 <a href="#" onclick="toggle('projectload');"><bean:message key="gnviewer.project.load"/></a>
694
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
63 </td>
695
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
64 <td style="float: left; width: 400px;">
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
65 <div id="projectload">
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
66 <form id="loadProject" action="<%=response.encodeURL("load.do")%>" method="post" enctype="multipart/form-data">
708
7448b6f5f1ed Replaced standard html input button with a load image like the choose buttons (issue225).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 696
diff changeset
67 <div id="browseDiv"><input type="file" name="document" accept="application/xml"/></div>
7448b6f5f1ed Replaced standard html input button with a load image like the choose buttons (issue225).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 696
diff changeset
68 <div id="loadDiv"><input type="image" src="<bean:message key="gnviewer.project.load.button.src"/>"/></div>
695
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
69 </form>
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
70 </div>
694
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
71 </td>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
72 </tr>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
73 </table>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
74 <%if (exceptionProject != null) {%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
75 <div class="projectException">
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
76 <bean:message key="<%=exceptionProject%>"/>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
77 <br/>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
78 <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>">
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
79 <bean:message key="application.reload"/>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
80 </a>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
81 </div>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
82 <%}%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
83 <%if (showmapviewercallBody){ %>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
84 <jsp:include page="includes/display_mapviewercall_inc.jsp" />
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
85 <%}%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
86 </div>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
87
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
88 <table style="width:100%;">
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
89 <tr id="contentRow">
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
90 <td id="parameterColumn">
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
91 <%-- the parameter panel is following --%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
92 <div id="parameterPanel">
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
93 <%if (staticui == null){ %>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
94 <jsp:include page="includes/display_fis_inc.jsp"></jsp:include>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
95 <%} else {%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
96 <div class="down">
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
97 <fieldset>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
98 <legend><bean:message key="gnviewer.history.title"/></legend>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
99 <%=staticui.toString()%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
100 </fieldset>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
101 </div>
665
27f25b9ae9af Improved exception handling. Display error messages after invalid user input.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 584
diff changeset
102 <%}%>
694
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
103
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
104 <%-- render the dynamic part to feed the state and advance to the next state --%>
1008
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
105 <%if (ui != null){%>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
106 <div id="timeseriesfilter">
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
107 <form id="fisSelectionForm" onsubmit="displayOverlay()" action="<%=response.encodeURL("next.do")%>" method="post">
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
108 <fieldset>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
109
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
110 <%-- error message, if user input was not valid --%>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
111 <%if (exception != null) {%>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
112 <div class="inputException"><%=exception%></div>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
113 <%}%>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
114 <%=ui != null ? ui.toString().replaceAll("&nbsp;", "") : "" %>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
115
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
116 <%if(furthertargets){%>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
117 <br/>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
118 <input style="margin-top: 5px;" type="image" src="<bean:message key="gnviewer.select.button.src"/>"/>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
119 <%}%>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
120 </fieldset>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
121 </form>
1b42a86184f6 Removed the changes of rev1206 and 1214.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1002
diff changeset
122 </div>
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
123 <%}%>
569
9a5e50e7afaa Added action and jsp for rendering histograms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 413
diff changeset
124
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
125 <%-- render export options if existing for this state --%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
126 <jsp:include page="includes/display_export_inc.jsp"></jsp:include>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
127
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
128 <%if (chart != null) {%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
129 <jsp:include page="/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp"></jsp:include>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
130 <%}%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
131
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
132
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
133 <%if (histogram != null) {%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
134 <jsp:include page="/WEB-INF/jsp/includes/display_histogram_options_inc.jsp"></jsp:include>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
135 <%}%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
136
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
137 <%-- render wms options --%>
971
a0e6566cd111 Integrated Openlayers using ext and geoext into the GNV-WebClient
Tim Englich <tim.englich@intevation.de>
parents: 710
diff changeset
138 <%if (wms_published != null) {%>
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
139 <jsp:include page="/WEB-INF/jsp/includes/display_wms_options_inc.jsp"></jsp:include>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
140 <%}%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
141 </div>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
142 </td>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
143 <td id="contentColumn">
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
144 <%if (exceptionMessage != null){ %>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
145 <div class="errormsg" id="load_error">
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
146 <bean-el:message key="<%=exceptionMessage.toString()%>"/>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
147 <p class="reload">
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
148 <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>">
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
149 <bean:message key="application.reload"/>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
150 </a>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
151 </p>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
152 </div>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
153 <%}%>
991
33198e55371c Improved session handling in the gui. If a session has timed out, the user gets to the start point - the fis selection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
154 <%if (sessionException != null){ %>
33198e55371c Improved session handling in the gui. If a session has timed out, the user gets to the start point - the fis selection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
155 <div class="errormsg" id="load_error">
33198e55371c Improved session handling in the gui. If a session has timed out, the user gets to the start point - the fis selection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
156 <bean-el:message key="<%=sessionException.toString()%>"/>
33198e55371c Improved session handling in the gui. If a session has timed out, the user gets to the start point - the fis selection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
157 </div>
33198e55371c Improved session handling in the gui. If a session has timed out, the user gets to the start point - the fis selection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
158 <%}%>
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
159 <%if (chart != null) {%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
160 <%-- render chart options if existing for this state --%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
161 <jsp:include page="includes/display_diagramm_inc.jsp"></jsp:include>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
162 <%}%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
163
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
164 <%-- render statistic --%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
165 <%if (statistic != null) {%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
166 <jsp:include page="includes/display_diagramm_statistics_inc.jsp"></jsp:include>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
167 <%}%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
168
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
169 <%-- render histogram --%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
170 <%if (histogram != null) {%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
171 <jsp:include page="includes/display_histogram_inc.jsp"></jsp:include>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
172 <%}%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
173
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
174 <%-- render wms layer --%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
175 <%if (wms_published != null) {%>
971
a0e6566cd111 Integrated Openlayers using ext and geoext into the GNV-WebClient
Tim Englich <tim.englich@intevation.de>
parents: 710
diff changeset
176 <jsp:include page="includes/display_map_inc.jsp"></jsp:include>
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
177 <%}%>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
178 </td>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
179 </tr>
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 708
diff changeset
180 </table>

http://dive4elements.wald.intevation.org