diff gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp @ 680:ba3370dbc8c5

Parse time to live of a wms-layer from meta document and show it in html gui (issue197). gnv/trunk@830 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 26 Mar 2010 09:22:32 +0000
parents 8315b0a40329
children 271ec4d11a9f
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp	Mon Mar 22 11:42:15 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp	Fri Mar 26 09:22:32 2010 +0000
@@ -5,6 +5,7 @@
     String serverPath  = (String) request.getAttribute("mapserver");
     String mapfilePath = (String) request.getAttribute("mapfile");
     String layerName   = (String) request.getAttribute("layer");
+    String timeToLive  = (String) request.getAttribute("ttl");
 %>
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -76,6 +77,10 @@
                         <td class="parameter"><bean:message key="gnviewer.wms.server.layer"/>:</td>
                         <td class="wmsvalue"><%=layerName%></td>
                     </tr>
+                    <tr>
+                        <td class="parameter"><bean:message key="gnviewer.wms.layer.ttl"/>:</td>
+                        <td class="wmsvalue"><%=timeToLive%></td>
+                    </tr>
                 </table>
             </div>
             <div id="map"></div>

http://dive4elements.wald.intevation.org