annotate gnv/src/main/webapp/WEB-INF/jsp/header.jsp @ 671:fbbf2ffde11f

Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall. gnv/trunk@797 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 19 Mar 2010 08:41:47 +0000
parents b89b31293772
children 93b4dedc4e37
rev   line source
166
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
1 <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" language="java"%>
15
a52aecf5bb9b Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
2 <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
a52aecf5bb9b Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
3 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
166
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
4 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-el" prefix="bean-el" %>
15
a52aecf5bb9b Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
5 <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
a52aecf5bb9b Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
6 <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles"%>
166
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
7 <% Object exceptionMessage = request.getAttribute(CommunicationKeys.REQUEST_EXCEPTION_MESSAGE_ID);
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
8 exceptionMessage = (exceptionMessage != null ? exceptionMessage.toString().replaceAll(" ", ".").replaceAll(":",".").toLowerCase() : null);
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
9 exceptionMessage = (exceptionMessage != null && exceptionMessage.toString().endsWith(".") ? exceptionMessage.toString().substring(0,exceptionMessage.toString().length()-1) : exceptionMessage);
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
10
566
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
11 boolean showmapviewercallBody = request.getAttribute("MAPVIEWERCALL") != null;
670
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
12
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
13 String exceptionProject = (String) request.getAttribute(CommunicationKeys.REQUEST_EXCEPTION_PROJECT);
166
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
14 %>
34
25fdec8b4c69 Added Global Errorhandling to the GNV-Client
Tim Englich <tim.englich@intevation.de>
parents: 15
diff changeset
15 <%@page import="de.intevation.gnv.action.CommunicationKeys"%><html:xhtml />
15
a52aecf5bb9b Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
16 <!-- Kopfleiste-->
a52aecf5bb9b Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
17 <div id="head" title="GDI BSH genericViewer">
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents: 408
diff changeset
18 <div id="logo">
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents: 408
diff changeset
19
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents: 408
diff changeset
20
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents: 408
diff changeset
21 </div>
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: 166
diff changeset
22 <h1>
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: 166
diff changeset
23 <a href="<html:rewrite action="/start"/>">
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: 166
diff changeset
24 <bean:message key="gnviewer.app.title" />
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: 166
diff changeset
25 </a>
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: 166
diff changeset
26 </h1>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents: 408
diff changeset
27
670
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
28 <div id="project">
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
29 <table>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
30 <tr>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
31 <td>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
32 <form id="storeProject" action="<%=response.encodeURL("store.do")%>" method="post">
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
33 <input type="submit" name="storeProject" value="<bean:message key="gnviewer.project.save"/>"/>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
34 </form>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
35 </td>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
36 <td>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
37 <form id="loadProject" action="<%=response.encodeURL("load.do")%>" method="post" enctype="multipart/form-data">
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
38 <input type="submit" name="loadProject" value="<bean:message key="gnviewer.project.load"/>"/>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
39 <input type="file" name="document" accept="application/xml"/>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
40 </form>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
41 </td>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
42 </tr>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
43 </table>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
44 <%if (exceptionProject != null) {%>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
45 <div class="projectException"><bean:message key="<%=exceptionProject%>"/></div>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
46 <%}%>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents: 408
diff changeset
47
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents: 408
diff changeset
48 <br/>
566
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
49 <%if (showmapviewercallBody){ %>
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
50 <jsp:include page="includes/display_mapviewercall_inc.jsp" />
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
51 <%}%>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents: 408
diff changeset
52 </div>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents: 408
diff changeset
53 <div class="errormsg" id="load_error">
166
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
54 <%if (exceptionMessage != null){ %>
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
55 <bean-el:message key="<%=exceptionMessage.toString()%>"/>
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
56 <%}%>
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
57 </div>
15
a52aecf5bb9b Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
58 </div>
a52aecf5bb9b Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
59

http://dive4elements.wald.intevation.org