comparison gnv/src/main/webapp/WEB-INF/jsp/index.jsp @ 971:a0e6566cd111

Integrated Openlayers using ext and geoext into the GNV-WebClient gnv/trunk@1139 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 01 Jun 2010 12:55:24 +0000
parents 5f29bfeb61bd
children cfea6dacd52a
comparison
equal deleted inserted replaced
970:d91ffd0e8239 971:a0e6566cd111
12 Object ui = request.getAttribute("ui"); 12 Object ui = request.getAttribute("ui");
13 Object staticui = request.getAttribute("staticui"); 13 Object staticui = request.getAttribute("staticui");
14 Object chart = request.getAttribute("chart"); 14 Object chart = request.getAttribute("chart");
15 Object statistic = request.getAttribute("statistic"); 15 Object statistic = request.getAttribute("statistic");
16 Object histogram = request.getAttribute("histogram"); 16 Object histogram = request.getAttribute("histogram");
17 Object wms = request.getAttribute("wms");
18 Object wms_published = request.getAttribute("wms_published"); 17 Object wms_published = request.getAttribute("wms_published");
19 String serverPath = (String) request.getAttribute("mapserver");
20 String mapfilePath = (String) request.getAttribute("mapfile");
21 String layerName = (String) request.getAttribute("layer");
22 String timeToLive = (String) request.getAttribute("ttl");
23 boolean furthertargets = true; 18 boolean furthertargets = true;
24 19
25 if (chart == null && statistic == null && histogram == null && wms == null) { 20 if (chart == null && statistic == null && histogram == null && wms_published == null) {
26 boolean supportChart = sm.getOutputMode("chart") != null; 21 boolean supportChart = sm.getOutputMode("chart") != null;
27 if (supportChart) { 22 if (supportChart) {
28 chart = "true"; 23 chart = "true";
29 } 24 }
30 } 25 }
126 <%if (histogram != null) {%> 121 <%if (histogram != null) {%>
127 <jsp:include page="/WEB-INF/jsp/includes/display_histogram_options_inc.jsp"></jsp:include> 122 <jsp:include page="/WEB-INF/jsp/includes/display_histogram_options_inc.jsp"></jsp:include>
128 <%}%> 123 <%}%>
129 124
130 <%-- render wms options --%> 125 <%-- render wms options --%>
131 <%if (wms != null) {%> 126 <%if (wms_published != null) {%>
132 <jsp:include page="/WEB-INF/jsp/includes/display_wms_options_inc.jsp"></jsp:include> 127 <jsp:include page="/WEB-INF/jsp/includes/display_wms_options_inc.jsp"></jsp:include>
133 <%}%> 128 <%}%>
134 </div> 129 </div>
135 </td> 130 </td>
136 <td id="contentColumn"> 131 <td id="contentColumn">
159 <jsp:include page="includes/display_histogram_inc.jsp"></jsp:include> 154 <jsp:include page="includes/display_histogram_inc.jsp"></jsp:include>
160 <%}%> 155 <%}%>
161 156
162 <%-- render wms layer --%> 157 <%-- render wms layer --%>
163 <%if (wms_published != null) {%> 158 <%if (wms_published != null) {%>
164 <div class="outerMap"> 159 <jsp:include page="includes/display_map_inc.jsp"></jsp:include>
165 <div id="wms">
166 <table>
167 <tr>
168 <td class="parameter"><bean:message key="gnviewer.wms.server.path"/>:</td>
169 <td class="wmsvalue"><%=serverPath%>?SERVICE=WMS&amp;REQUEST=GetCapabilities</td>
170 </tr>
171 <tr>
172 <td class="parameter"><bean:message key="gnviewer.wms.server.layer"/>:</td>
173 <td class="wmsvalue"><%=layerName%></td>
174 </tr>
175 <tr>
176 <td class="parameter"><bean:message key="gnviewer.wms.layer.ttl"/>:</td>
177 <td class="wmsvalue"><%=timeToLive%></td>
178 </tr>
179 </table>
180 </div>
181 <div id="map"></div>
182 </div>
183 <%}%> 160 <%}%>
184 </td> 161 </td>
185 </tr> 162 </tr>
186 </table> 163 </table>

http://dive4elements.wald.intevation.org