changeset 753:53d4a2229e2c

Fixed a bug in the Workflow of Verticalcrossections. the Geometry was not copied to the Inputvalues. gnv-artifacts/trunk@796 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 19 Mar 2010 08:38:05 +0000
parents 7bc3d9f0cf3c
children 5d45357dbc6d
files gnv-artifacts/ChangeLog gnv-artifacts/doc/conf/products/verticalcrosssection/conf_mesh.xml
diffstat 2 files changed, 27 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Fri Mar 19 08:34:40 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Fri Mar 19 08:38:05 2010 +0000
@@ -1,3 +1,9 @@
+2010-03-19  Tim Englich  <tim.englich@intevation.de>
+
+	* doc/conf/products/verticalcrosssection/conf_mesh.xml: 
+	  Modified the Workflow of the verticalcrosssection that the Geometry is now
+	  copied to the Inpuvalues if it comes from the Mapviewer-Interfacecall.
+
 2010-03-19  Tim Englich  <tim.englich@intevation.de>
 
 	* doc/conf/products/horizontalcrosssection/conf_mesh.xml: 
--- a/gnv-artifacts/doc/conf/products/verticalcrosssection/conf_mesh.xml	Fri Mar 19 08:34:40 2010 +0000
+++ b/gnv-artifacts/doc/conf/products/verticalcrosssection/conf_mesh.xml	Fri Mar 19 08:38:05 2010 +0000
@@ -100,7 +100,7 @@
         
         <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
             <from state="verticalcrosssection_mesh_without_geom"/>
-            <to state="verticalcrosssection_mesh_parameter"/>
+            <to state="verticalcrosssection_mesh_parameter_presettings"/>
             <condition inputvalue="geometry" value="LINESTRING" operator="equal"/>
         </transition>
           
@@ -125,7 +125,7 @@
         
         <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
             <from state="verticalcrosssection_mesh"/>
-            <to state="verticalcrosssection_mesh_parameter"/>
+            <to state="verticalcrosssection_mesh_parameter_presettings"/>
             <condition inputvalue="geometry" value="LINESTRING" operator="equal"/>
         </transition>
          
@@ -144,7 +144,7 @@
               <to state="verticalcrosssection_mesh_parameter"/>
          </transition>
          
-         <state id="verticalcrosssection_mesh_parameter" description="verticalcrosssection_mesh_parameter" state="de.intevation.gnv.state.PreSettingsTransferState">
+         <state id="verticalcrosssection_mesh_parameter_presettings" description="verticalcrosssection_mesh_parameter_presettings" state="de.intevation.gnv.state.PreSettingsTransferState">
              <queryID>verticalprofile_mesh_parameter</queryID>
              <dataname>parameterid</dataname>
              <presettings-name>parameter</presettings-name>
@@ -157,6 +157,24 @@
                   <inputvalue name="mesh_linestring" type="String" multiselect="false" usedinquery="0"/>
              </inputvalues>
          </state>
+         
+         <transition transition="de.intevation.gnv.transition.DefaultTransition">
+              <from state="verticalcrosssection_mesh_parameter_presettings"/>
+              <to state="verticalcrosssection_mesh_year"/>
+         </transition>
+         
+         <state id="verticalcrosssection_mesh_parameter" description="verticalcrosssection_mesh_parameter" state="de.intevation.gnv.state.DefaultState">
+             <queryID>verticalprofile_mesh_parameter</queryID>
+             <dataname>parameterid</dataname>
+             <presettings-name>parameter</presettings-name>
+             <data-multiselect>false</data-multiselect>
+             <inputvalues>
+                  <inputvalue name="meshid" type="Integer" multiselect="false" usedinquery="1"/>
+                  <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
+                  <inputvalue name="parameterid" type="Integer" multiselect="false"  usedinquery="0"/>
+                  <inputvalue name="mesh_linestring" type="String" multiselect="false" usedinquery="0"/>
+             </inputvalues>
+         </state>
 
         <transition transition="de.intevation.gnv.transition.DefaultTransition">
               <from state="verticalcrosssection_mesh_parameter"/>

http://dive4elements.wald.intevation.org