comparison 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
comparison
equal deleted inserted replaced
679:4eccd03394ac 680:ba3370dbc8c5
3 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> 3 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
4 <% 4 <%
5 String serverPath = (String) request.getAttribute("mapserver"); 5 String serverPath = (String) request.getAttribute("mapserver");
6 String mapfilePath = (String) request.getAttribute("mapfile"); 6 String mapfilePath = (String) request.getAttribute("mapfile");
7 String layerName = (String) request.getAttribute("layer"); 7 String layerName = (String) request.getAttribute("layer");
8 String timeToLive = (String) request.getAttribute("ttl");
8 %> 9 %>
9 10
10 <html xmlns="http://www.w3.org/1999/xhtml"> 11 <html xmlns="http://www.w3.org/1999/xhtml">
11 <head> 12 <head>
12 <title> 13 <title>
74 </tr> 75 </tr>
75 <tr> 76 <tr>
76 <td class="parameter"><bean:message key="gnviewer.wms.server.layer"/>:</td> 77 <td class="parameter"><bean:message key="gnviewer.wms.server.layer"/>:</td>
77 <td class="wmsvalue"><%=layerName%></td> 78 <td class="wmsvalue"><%=layerName%></td>
78 </tr> 79 </tr>
80 <tr>
81 <td class="parameter"><bean:message key="gnviewer.wms.layer.ttl"/>:</td>
82 <td class="wmsvalue"><%=timeToLive%></td>
83 </tr>
79 </table> 84 </table>
80 </div> 85 </div>
81 <div id="map"></div> 86 <div id="map"></div>
82 </div> 87 </div>
83 <%}%> 88 <%}%>

http://dive4elements.wald.intevation.org