view 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
line wrap: on
line source
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" language="java"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-el" prefix="bean-el" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles"%>
<% Object exceptionMessage = request.getAttribute(CommunicationKeys.REQUEST_EXCEPTION_MESSAGE_ID);
    exceptionMessage = (exceptionMessage != null ? exceptionMessage.toString().replaceAll(" ", ".").replaceAll(":",".").toLowerCase() : null);
    exceptionMessage = (exceptionMessage != null && exceptionMessage.toString().endsWith(".") ? exceptionMessage.toString().substring(0,exceptionMessage.toString().length()-1) : exceptionMessage);
    
%>
<%@page import="de.intevation.gnv.action.CommunicationKeys"%><html:xhtml />
<!-- Kopfleiste-->
<div id="head" title="GDI BSH genericViewer"> 
	<div id="logo">
	
	
	</div>
	<a href="<html:rewrite action="/start"/>">
		<h1>
			<bean:message key="gnviewer.app.title" />
		</h1>
	</a>
	
	<div id="project">
		<label style="font-weight:bold;">
		         <bean:message key="gnviewer.project.load"/>
			| 
			     <bean:message	key="gnviewer.project.save" />
	 	</label>
		<div id="project_load">
			
		</div>
		<br/>
		
	</div>
	<div class="errormsg" id="load_error">
         <%if (exceptionMessage != null){ %>
            <bean-el:message key="<%=exceptionMessage.toString()%>"/>
         <%}%>
     </div>
</div>

http://dive4elements.wald.intevation.org