diff gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp @ 16:4ef6e4e9ef15

Intergate the new Pageinfrastructure into the old Layout gnv/trunk@99 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 16 Sep 2009 14:02:29 +0000
parents 9719cbd1a23f
children 573655a161d7
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp	Wed Sep 16 13:57:42 2009 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp	Wed Sep 16 14:02:29 2009 +0000
@@ -1,12 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<%@ 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://java.sun.com/jstl/core" prefix="c" %>
-<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
-<html:html xhtml="true" locale="true">
+<html xhtml="true" locale="true">
     <head>
         <title>
             <bean:message key="gnviewer.app.title"/>
@@ -20,15 +15,6 @@
         <meta name="robots" content="noindex"/>
         <link href="styles/default.css" rel="stylesheet" type="text/css"/>
         <link href="styles/calendar-blue.css" rel="stylesheet" type="text/css"/>
-        <!--[if IE]>
-            <style type="text/css">
-            #overlay {
-                filter:Alpha(opacity=50, finishopacity=50, style=2);
-            }
-            </style>
-        <![endif]-->
-        <script type="text/javascript" src="scripts/gnviewer.js"></script>
-        <script type="text/javascript" src="scripts/prototype.js"></script>
         <script type="text/javascript" src="scripts/calendar.js"></script>
         <script type="text/javascript" src="scripts/calendar-de.js"></script>
         <script type="text/javascript" src="scripts/calendar-setup.js"></script>
@@ -38,13 +24,15 @@
     <div id="overlay"></div>
     <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute">
         <div id="overlayContent">
-            <p><bean:message key="gnviewer.productselection.overlay.title"/></p>
+            <p>
+                <bean:message key="gnviewer.productselection.overlay.title"/>
+            </p>
         </div>
     </div>
     <div id="page">
-        <tiles:insert attribute="header" ignore="true"/>
-        <tiles:insert attribute="body" ignore="true"/>
-        <tiles:insert attribute="footer" ignore="true"/>
+        <jsp:include page="header.jsp" />
+         <jsp:include page="index.jsp" />
+        <jsp:include page="footer.jsp" />
     </div>
     </body>
-</html:html>
\ No newline at end of file
+</html>
\ No newline at end of file

http://dive4elements.wald.intevation.org