Mercurial > dive4elements > gnv-client
comparison gnv/src/main/webapp/WEB-INF/jsp/header.jsp @ 566:5aea89b9a350
Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
gnv/trunk@681 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 12 Feb 2010 09:55:59 +0000 |
parents | 2183c764b403 |
children | b89b31293772 |
comparison
equal
deleted
inserted
replaced
565:8355d7cacd09 | 566:5aea89b9a350 |
---|---|
5 <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%> | 5 <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%> |
6 <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles"%> | 6 <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles"%> |
7 <% Object exceptionMessage = request.getAttribute(CommunicationKeys.REQUEST_EXCEPTION_MESSAGE_ID); | 7 <% Object exceptionMessage = request.getAttribute(CommunicationKeys.REQUEST_EXCEPTION_MESSAGE_ID); |
8 exceptionMessage = (exceptionMessage != null ? exceptionMessage.toString().replaceAll(" ", ".").replaceAll(":",".").toLowerCase() : null); | 8 exceptionMessage = (exceptionMessage != null ? exceptionMessage.toString().replaceAll(" ", ".").replaceAll(":",".").toLowerCase() : null); |
9 exceptionMessage = (exceptionMessage != null && exceptionMessage.toString().endsWith(".") ? exceptionMessage.toString().substring(0,exceptionMessage.toString().length()-1) : exceptionMessage); | 9 exceptionMessage = (exceptionMessage != null && exceptionMessage.toString().endsWith(".") ? exceptionMessage.toString().substring(0,exceptionMessage.toString().length()-1) : exceptionMessage); |
10 | |
11 boolean showmapviewercallBody = request.getAttribute("MAPVIEWERCALL") != null; | |
10 | 12 |
11 %> | 13 %> |
12 <%@page import="de.intevation.gnv.action.CommunicationKeys"%><html:xhtml /> | 14 <%@page import="de.intevation.gnv.action.CommunicationKeys"%><html:xhtml /> |
13 <!-- Kopfleiste--> | 15 <!-- Kopfleiste--> |
14 <div id="head" title="GDI BSH genericViewer"> | 16 <div id="head" title="GDI BSH genericViewer"> |
30 </label> | 32 </label> |
31 <div id="project_load"> | 33 <div id="project_load"> |
32 | 34 |
33 </div> | 35 </div> |
34 <br/> | 36 <br/> |
35 <jsp:include page="includes/display_mapviewercall_inc.jsp" /> | 37 <%if (showmapviewercallBody){ %> |
38 <jsp:include page="includes/display_mapviewercall_inc.jsp" /> | |
39 <%}%> | |
36 </div> | 40 </div> |
37 <div class="errormsg" id="load_error"> | 41 <div class="errormsg" id="load_error"> |
38 <%if (exceptionMessage != null){ %> | 42 <%if (exceptionMessage != null){ %> |
39 <bean-el:message key="<%=exceptionMessage.toString()%>"/> | 43 <bean-el:message key="<%=exceptionMessage.toString()%>"/> |
40 <%}%> | 44 <%}%> |