annotate gnv/src/main/webapp/WEB-INF/jsp/index.jsp @ 694:271ec4d11a9f

Changed the whole design of the application regarding the bsh styleguide. gnv/trunk@925 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 13 Apr 2010 16:44:30 +0000
parents ccd47d9887ec
children 883b366e3b15
rev   line source
18
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
1 <%@ 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
2 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-el" prefix="bean-el" %>
8
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 4
diff changeset
3 <%@page import="java.util.Collection"%>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 4
diff changeset
4 <%@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
5 <%@page import="de.intevation.gnv.action.CommunicationKeys"%>
8
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 4
diff changeset
6 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModel"%>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 4
diff changeset
7 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%>
16
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 12
diff changeset
8 <%@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
9 <%
665
27f25b9ae9af Improved exception handling. Display error messages after invalid user input.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 584
diff changeset
10 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
11 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
12 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
13 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
14 Object chart = request.getAttribute("chart");
410
9602f4bffc07 Added statistic to the actions if available.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 408
diff changeset
15 Object statistic = request.getAttribute("statistic");
569
9a5e50e7afaa Added action and jsp for rendering histograms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 413
diff changeset
16 Object histogram = request.getAttribute("histogram");
570
cbd397712ecf Render an OpenLayers map with the layer even published after triggering shapefile and mapfile creation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 569
diff changeset
17 Object wms = request.getAttribute("wms");
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
18 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
19
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 if (chart == null && statistic == null && histogram == null && wms == 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
21 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
22 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
23 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
24 }
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
25 }
17
d7e5a929fc34 Some Stylingimprovements done
Tim Englich <tim.englich@intevation.de>
parents: 16
diff changeset
26
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
27 Object furthertargetsObject = request.getAttribute("furthertargets");
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
28 if (furthertargetsObject != null){
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
29 furthertargets = ((Boolean)furthertargetsObject).booleanValue();
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
30 }
694
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
31
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
32 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
33 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
34 exceptionMessage = (exceptionMessage != null && exceptionMessage.toString().endsWith(".") ? exceptionMessage.toString().substring(0,exceptionMessage.toString().length()-1) : exceptionMessage);
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
35
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
36 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
37
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
38 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
39 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
40 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
41 %>
694
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
42
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
43 <%-- 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
44 <div id="project">
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
45 <table>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
46 <tr>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
47 <td>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
48 <form id="storeProject" action="<%=response.encodeURL("store.do")%>" method="post">
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
49 <input type="submit" name="storeProject" value="<bean:message key="gnviewer.project.save"/>"/>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
50 </form>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
51 </td>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
52 <td>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
53 <form id="loadProject" action="<%=response.encodeURL("load.do")%>" method="post" enctype="multipart/form-data">
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
54 <input type="submit" name="loadProject" value="<bean:message key="gnviewer.project.load"/>"/>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
55 <input type="file" name="document" accept="application/xml"/>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
56 </form>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
57 </td>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
58 </tr>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
59 </table>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
60 <%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
61 <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
62 <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
63 <br/>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
64 <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
65 <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
66 </a>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
67 </div>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
68 <%}%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
69
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
70 <br/>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
71 <%if (showmapviewercallBody){ %>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
72 <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
73 <%}%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
74 </div>
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="errormsg" id="load_error">
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
76 <%if (exceptionMessage != null){ %>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
77 <bean-el:message key="<%=exceptionMessage.toString()%>"/>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
78 <p class="reload">
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
79 <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
80 <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
81 </a>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
82 </p>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
83 <%}%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
84 </div>
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 <%-- the parameter panel is following --%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
87 <div id="parameterPanel">
400
a8b1875dcd93 Just include a select box for choosing the fis if there is no static part in the describe document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 162
diff changeset
88 <%if (staticui == null){ %>
a8b1875dcd93 Just include a select box for choosing the fis if there is no static part in the describe document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 162
diff changeset
89 <jsp:include page="includes/display_fis_inc.jsp"></jsp:include>
a8b1875dcd93 Just include a select box for choosing the fis if there is no static part in the describe document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 162
diff changeset
90 <%} else {%>
411
8e39c74f9fb6 Put former parameter into a fieldset with label and removed background image from all fieldsets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 410
diff changeset
91 <div class="down">
8e39c74f9fb6 Put former parameter into a fieldset with label and removed background image from all fieldsets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 410
diff changeset
92 <fieldset>
8e39c74f9fb6 Put former parameter into a fieldset with label and removed background image from all fieldsets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 410
diff changeset
93 <legend><bean:message key="gnviewer.history.title"/></legend>
8e39c74f9fb6 Put former parameter into a fieldset with label and removed background image from all fieldsets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 410
diff changeset
94 <%=staticui.toString()%>
8e39c74f9fb6 Put former parameter into a fieldset with label and removed background image from all fieldsets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 410
diff changeset
95 </fieldset>
8e39c74f9fb6 Put former parameter into a fieldset with label and removed background image from all fieldsets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 410
diff changeset
96 </div>
18
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
97 <%}%>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
98
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
99 <%-- render the dynamic part to feed the state and advance to the next state --%>
665
27f25b9ae9af Improved exception handling. Display error messages after invalid user input.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 584
diff changeset
100 <%if (ui != null){%>
27f25b9ae9af Improved exception handling. Display error messages after invalid user input.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 584
diff changeset
101 <div id="timeseriesfilter">
413
0ce07c6e132c Refactored xsl sheet for ui's dynamic part: Removed local-name() method, put 'group' items into a table to be well aligned and set the size of multi select boxes to max 5 items or less.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 411
diff changeset
102 <form id="fisSelectionForm" onsubmit="displayOverlay()" action="<%=response.encodeURL("next.do")%>" method="post">
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
103 <fieldset>
665
27f25b9ae9af Improved exception handling. Display error messages after invalid user input.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 584
diff changeset
104
27f25b9ae9af Improved exception handling. Display error messages after invalid user input.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 584
diff changeset
105 <%-- error message, if user input was not valid --%>
27f25b9ae9af Improved exception handling. Display error messages after invalid user input.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 584
diff changeset
106 <%if (exception != null) {%>
27f25b9ae9af Improved exception handling. Display error messages after invalid user input.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 584
diff changeset
107 <div class="inputException"><%=exception%></div>
27f25b9ae9af Improved exception handling. Display error messages after invalid user input.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 584
diff changeset
108 <%}%>
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
109 <%=ui != null ? ui.toString().replaceAll("&nbsp;", "") : "" %>
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
110
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
111 <%if(furthertargets){%>
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
112 <input type="submit" value="<bean:message key="gnviewer.select.button"/>"/>
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
113 <%}%>
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
114 </fieldset>
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
115 </form>
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
116 </div>
18
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
117 <%}%>
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
118
694
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
119 <%-- render export options if existing for this state --%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
120 <jsp:include page="includes/display_export_inc.jsp"></jsp:include>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
121
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
122 <%if (chart != null) {%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
123 <jsp:include page="/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp"></jsp:include>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
124 <%}%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
125
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
126
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
127 <%if (histogram != null) {%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
128 <jsp:include page="/WEB-INF/jsp/includes/display_histogram_options_inc.jsp"></jsp:include>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
129 <%}%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
130
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
131 <%-- render wms options --%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
132 <%if (wms != null) {%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
133 <jsp:include page="/WEB-INF/jsp/includes/display_wms_options_inc.jsp"></jsp:include>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
134 <%}%>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 668
diff changeset
135 </div>
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
136
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
137 <%if (chart != null) {%>
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
138 <%-- render chart options if existing for this state --%>
400
a8b1875dcd93 Just include a select box for choosing the fis if there is no static part in the describe document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 162
diff changeset
139 <jsp:include page="includes/display_diagramm_inc.jsp"></jsp:include>
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
140 <%}%>
410
9602f4bffc07 Added statistic to the actions if available.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 408
diff changeset
141
9602f4bffc07 Added statistic to the actions if available.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 408
diff changeset
142 <%-- render statistic --%>
9602f4bffc07 Added statistic to the actions if available.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 408
diff changeset
143 <%if (statistic != null) {%>
9602f4bffc07 Added statistic to the actions if available.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 408
diff changeset
144 <jsp:include page="includes/display_diagramm_statistics_inc.jsp"></jsp:include>
9602f4bffc07 Added statistic to the actions if available.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 408
diff changeset
145 <%}%>
569
9a5e50e7afaa Added action and jsp for rendering histograms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 413
diff changeset
146
9a5e50e7afaa Added action and jsp for rendering histograms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 413
diff changeset
147 <%-- render histogram --%>
9a5e50e7afaa Added action and jsp for rendering histograms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 413
diff changeset
148 <%if (histogram != null) {%>
9a5e50e7afaa Added action and jsp for rendering histograms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 413
diff changeset
149 <jsp:include page="includes/display_histogram_inc.jsp"></jsp:include>
9a5e50e7afaa Added action and jsp for rendering histograms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 413
diff changeset
150 <%}%>

http://dive4elements.wald.intevation.org