Mercurial > dive4elements > gnv-client
annotate gnv/src/main/webapp/WEB-INF/jsp/header.jsp @ 388:6e16dc005704
Removed for-each statements and replaced them with templates.
gnv/trunk@507 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 05 Jan 2010 08:52:49 +0000 |
parents | c5edd8fcae8c |
children | b5733f9f386b |
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 |
c5edd8fcae8c
Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents:
42
diff
changeset
|
11 %> |
34
25fdec8b4c69
Added Global Errorhandling to the GNV-Client
Tim Englich <tim.englich@intevation.de>
parents:
15
diff
changeset
|
12 <%@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
|
13 <!-- 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
|
14 <div id="head" title="GDI BSH genericViewer"> |
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 <div id="logo"> |
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 |
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 |
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 </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
|
19 <a href="<html:rewrite action="/start"/>"> |
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
|
20 <h1> |
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
|
21 <bean:message key="gnviewer.app.title" /> |
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
|
22 </h1> |
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
|
23 </a> |
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
|
24 |
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
|
25 <div id="project"> |
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
|
26 <label style="font-weight:bold;"> |
42
cfe6467d3b7b
Deaktivate Links save Project and load Project gnv/issue12
Tim Englich <tim.englich@intevation.de>
parents:
34
diff
changeset
|
27 <bean:message key="gnviewer.project.load"/> |
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
|
28 | |
42
cfe6467d3b7b
Deaktivate Links save Project and load Project gnv/issue12
Tim Englich <tim.englich@intevation.de>
parents:
34
diff
changeset
|
29 <bean:message key="gnviewer.project.save" /> |
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
|
30 </label> |
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
|
31 <div id="project_load"> |
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
|
32 |
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
|
33 </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
|
34 <br/> |
166
c5edd8fcae8c
Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents:
42
diff
changeset
|
35 |
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
|
36 </div> |
166
c5edd8fcae8c
Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents:
42
diff
changeset
|
37 <div class="errormsg" id="load_error"> |
c5edd8fcae8c
Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents:
42
diff
changeset
|
38 <%if (exceptionMessage != null){ %> |
c5edd8fcae8c
Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents:
42
diff
changeset
|
39 <bean-el:message key="<%=exceptionMessage.toString()%>"/> |
c5edd8fcae8c
Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents:
42
diff
changeset
|
40 <%}%> |
c5edd8fcae8c
Added localized Exception Messages.
Tim Englich <tim.englich@intevation.de>
parents:
42
diff
changeset
|
41 </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
|
42 </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
|
43 |