Mercurial > dive4elements > gnv-client
annotate gnv/src/main/webapp/WEB-INF/jsp/header.jsp @ 572:3f7bbc6dc751
Sourced JavaScript script tags for loading and rendering an OpenLayers client out to an own jsp page.
gnv/trunk@701 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 23 Feb 2010 15:26:50 +0000 |
parents | 5aea89b9a350 |
children | b89b31293772 |
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; |
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
|
12 |
166
c5edd8fcae8c
Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents:
42
diff
changeset
|
13 %> |
34
25fdec8b4c69
Added Global Errorhandling to the GNV-Client
Tim Englich <tim.englich@intevation.de>
parents:
15
diff
changeset
|
14 <%@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
|
15 <!-- 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
|
16 <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
|
17 <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
|
18 |
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 </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
|
21 <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
|
22 <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
|
23 <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
|
24 </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
|
25 </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
|
26 |
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 <div id="project"> |
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
|
28 <label style="font-weight:bold;"> |
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 <bean:message key="gnviewer.project.load"/> |
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
|
30 | |
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
|
31 <bean:message key="gnviewer.project.save" /> |
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
|
32 </label> |
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
|
33 <div id="project_load"> |
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
|
34 |
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
|
35 </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
|
36 <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
|
37 <%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
|
38 <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
|
39 <%}%> |
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
|
40 </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
|
41 <div class="errormsg" id="load_error"> |
166
c5edd8fcae8c
Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents:
42
diff
changeset
|
42 <%if (exceptionMessage != null){ %> |
c5edd8fcae8c
Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents:
42
diff
changeset
|
43 <bean-el:message key="<%=exceptionMessage.toString()%>"/> |
c5edd8fcae8c
Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents:
42
diff
changeset
|
44 <%}%> |
c5edd8fcae8c
Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents:
42
diff
changeset
|
45 </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
|
46 </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
|
47 |