annotate gnv/src/main/webapp/WEB-INF/jsp/index.jsp @ 282:d6c0d426e38a

Added the Possibility to get Version-Infomation and Release Date/Time from the GNV-Project using a Browser issue87 gnv/trunk@360 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 23 Nov 2009 16:30:33 +0000
parents 3be414dc974a
children a8b1875dcd93
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" %>
8
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 4
diff changeset
2 <%@page import="java.util.Collection"%>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 4
diff changeset
3 <%@page import="de.intevation.gnv.artifactdatabase.objects.ArtifactObject"%>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 4
diff changeset
4 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModel"%>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 4
diff changeset
5 <%@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
6 <%@page import="java.util.Iterator"%>
12
4ebe57b170d3 Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents: 11
diff changeset
7 <%Object ui = request.getAttribute("ui");
18
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
8 Object staticui = request.getAttribute("staticui");
17
d7e5a929fc34 Some Stylingimprovements done
Tim Englich <tim.englich@intevation.de>
parents: 16
diff changeset
9 boolean furthertargets = true;
d7e5a929fc34 Some Stylingimprovements done
Tim Englich <tim.englich@intevation.de>
parents: 16
diff changeset
10
d7e5a929fc34 Some Stylingimprovements done
Tim Englich <tim.englich@intevation.de>
parents: 16
diff changeset
11 Object furthertargetsObject = request.getAttribute("furthertargets");
d7e5a929fc34 Some Stylingimprovements done
Tim Englich <tim.englich@intevation.de>
parents: 16
diff changeset
12 if (furthertargetsObject != null){
d7e5a929fc34 Some Stylingimprovements done
Tim Englich <tim.englich@intevation.de>
parents: 16
diff changeset
13 furthertargets = ((Boolean)furthertargetsObject).booleanValue();
d7e5a929fc34 Some Stylingimprovements done
Tim Englich <tim.englich@intevation.de>
parents: 16
diff changeset
14 }
12
4ebe57b170d3 Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents: 11
diff changeset
15 %>
18
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
16 <div>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
17 <jsp:include page="includes/display_fis_inc.jsp"></jsp:include>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
18 <%if (staticui != null){ %>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
19 <%=staticui.toString()%>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
20 <%}%>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
21
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
22 <%if (ui != null){%>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
23 <div id="timeseriesfilter">
27
573655a161d7 Please-Wait Dialog from old Project reactivated.
Tim Englich <tim.englich@intevation.de>
parents: 22
diff changeset
24 <form id="fisSelectionForm" onsubmit="displayOverlay()" action="<%=response.encodeURL("next.do")%>") method="post">
18
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
25 <fieldset>
162
3be414dc974a The Submitbutton now is placed properly after single
Tim Englich <tim.englich@intevation.de>
parents: 27
diff changeset
26 <%=ui != null ? ui.toString().replaceAll("&nbsp;", "") : "" %>
3be414dc974a The Submitbutton now is placed properly after single
Tim Englich <tim.englich@intevation.de>
parents: 27
diff changeset
27
18
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
28 <%if(furthertargets){%>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
29 <input type="submit" value="<bean:message key="gnviewer.select.button"/>"/>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
30 <%}else{%>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
31 <input type="submit" value="<bean:message key="gnviewer.draw.button"/>"/>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
32 <%}%>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
33 </fieldset>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
34 </form>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
35 </div>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
36 <%}%>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
37 </div>
87002cbd194c Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents: 17
diff changeset
38 <jsp:include page="includes/display_diagramm_inc.jsp"></jsp:include>

http://dive4elements.wald.intevation.org