changeset 559:2183c764b403

Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV gnv/trunk@655 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 02 Feb 2010 08:22:20 +0000
parents 8032da9e8b70
children 1fb55ff633db
files gnv/ChangeLog gnv/src/main/webapp/WEB-INF/jsp/header.jsp gnv/src/main/webapp/WEB-INF/jsp/includes/display_mapviewercall_inc.jsp
diffstat 3 files changed, 57 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/gnv/ChangeLog	Mon Feb 01 15:08:39 2010 +0000
+++ b/gnv/ChangeLog	Tue Feb 02 08:22:20 2010 +0000
@@ -1,3 +1,13 @@
+2010-02-02  Tim Englich  <tim.englich@intevation.de>
+
+	* src/main/webapp/WEB-INF/jsp/header.jsp: 
+	  Added temporally Include of includes/display_mapviewercall_inc.jsp for the
+	  Simulation of the MapViewer-Interface-Request.
+
+	* src/main/webapp/WEB-INF/jsp/includes/display_mapviewercall_inc.jsp: 
+	  Added new Includefile with the Formular which includes the Data for the
+	  Simulation of the MapViewer-Interface-Request.
+
 2010-02-01  Tim Englich  <tim.englich@intevation.de>
 
 	* src/main/webapp/WEB-INF/config/struts-config.xml: 
--- a/gnv/src/main/webapp/WEB-INF/jsp/header.jsp	Mon Feb 01 15:08:39 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/header.jsp	Tue Feb 02 08:22:20 2010 +0000
@@ -12,29 +12,29 @@
 <%@page import="de.intevation.gnv.action.CommunicationKeys"%><html:xhtml />
 <!-- Kopfleiste-->
 <div id="head" title="GDI BSH genericViewer"> 
-	<div id="logo">
-	
-	
-	</div>
+    <div id="logo">
+    
+    
+    </div>
     <h1>
         <a href="<html:rewrite action="/start"/>">
             <bean:message key="gnviewer.app.title" />
         </a>
     </h1>
-	
-	<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">
+    
+    <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/>
+        <jsp:include page="includes/display_mapviewercall_inc.jsp" />
+    </div>
+    <div class="errormsg" id="load_error">
          <%if (exceptionMessage != null){ %>
             <bean-el:message key="<%=exceptionMessage.toString()%>"/>
          <%}%>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/includes/display_mapviewercall_inc.jsp	Tue Feb 02 08:22:20 2010 +0000
@@ -0,0 +1,29 @@
+<div id="basefilter" style="left:310px;position:absolute">
+    <form action="<%=response.encodeURL("extcall.do")%>" method="post">
+        <fieldset>
+           <legend>Kartenviewer Request</legend>
+            <input type="hidden" name="document" value="<?xml version='1.0' encoding='UTF-8'?>
+                    <gnviewer>
+                        <mapservices>
+                            <mapservice id='fis_modeldata' type='arcims' url='http://foo.bar.de'>
+                                <layer id='2' name='Salzgehalt  [pSal]'/>
+                                <layer id='grouplayer' name='Grouplayer'>
+                                     <layer id='1' name='Temperatur [degC]'/>
+                                     <layer id='50' name='Wasserstand [m]'/>
+                                 </layer>
+                            </mapservice>
+                            <mapservice id='fis_marnet' type='wms' url='http://foo1.bar.de'>
+                                 <layer id='51' name='Lufttemperatur [degC]'/>
+                                 <layer id='2' name='Salzgehalt [pSal]'/>
+                                 <layer id='31' name='Sauerstoffsaettigung [percent]'/>
+                            </mapservice>
+                        </mapservices> 
+                        <location>
+                            <srs>EPSG:4324</srs>
+                            <data>POINT(8.6 56.0)</data>
+                        </location>
+                    </gnviewer>"/>
+            <input type="submit" name="btClick" value="Ausführen" />
+        </fieldset>
+    </form>
+</div>
\ No newline at end of file

http://dive4elements.wald.intevation.org