annotate gnv/src/main/webapp/WEB-INF/jsp/header.jsp @ 686:734e8301c9ea

Added links to reload the application and rebuild the user interface (issue13, issue18). gnv/trunk@864 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 29 Mar 2010 10:45:08 +0000
parents 93b4dedc4e37
children 271ec4d11a9f
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);
673
93b4dedc4e37 Implemented a mechanism to import artifacts from xml structured documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 670
diff changeset
14 exceptionProject = exceptionProject != null ? exceptionProject.toLowerCase() : null;
93b4dedc4e37 Implemented a mechanism to import artifacts from xml structured documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 670
diff changeset
15 exceptionProject = exceptionProject != null ? exceptionProject.replaceAll(" ", ".") : null;
166
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
16 %>
34
25fdec8b4c69 Added Global Errorhandling to the GNV-Client
Tim Englich <tim.englich@intevation.de>
parents: 15
diff changeset
17 <%@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
18 <!-- 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
19 <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
20 <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
21
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
22
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
23 </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
24 <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
25 <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
26 <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
27 </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
28 </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
29
670
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
30 <div id="project">
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
31 <table>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
32 <tr>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
33 <td>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
34 <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
35 <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
36 </form>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
37 </td>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
38 <td>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
39 <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
40 <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
41 <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
42 </form>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
43 </td>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
44 </tr>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
45 </table>
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
46 <%if (exceptionProject != null) {%>
686
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 673
diff changeset
47 <div class="projectException">
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 673
diff changeset
48 <bean:message key="<%=exceptionProject%>"/>
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 673
diff changeset
49 <br/>
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 673
diff changeset
50 <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>">
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 673
diff changeset
51 <bean:message key="application.reload"/>
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 673
diff changeset
52 </a>
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 673
diff changeset
53 </div>
670
b89b31293772 Implemented first things to store/load projects.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 566
diff changeset
54 <%}%>
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
55
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
56 <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
57 <%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
58 <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
59 <%}%>
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
60 </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
61 <div class="errormsg" id="load_error">
166
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
62 <%if (exceptionMessage != null){ %>
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
63 <bean-el:message key="<%=exceptionMessage.toString()%>"/>
686
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 673
diff changeset
64 <p class="reload">
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 673
diff changeset
65 <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>">
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 673
diff changeset
66 <bean:message key="application.reload"/>
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 673
diff changeset
67 </a>
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 673
diff changeset
68 </p>
166
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
69 <%}%>
c5edd8fcae8c Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents: 42
diff changeset
70 </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
71 </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
72

http://dive4elements.wald.intevation.org