diff gnv-artifacts/doc/conf/products/layer/conf.xml @ 743:a4b66195d55a

Modified the Workflow of Product Layer for Contis and Nauthis that the Data that was sent by the Mapviewer-Interface take effect. gnv-artifacts/trunk@782 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 16 Mar 2010 08:51:50 +0000
parents f6630d0203da
children 28028979c813
line wrap: on
line diff
--- a/gnv-artifacts/doc/conf/products/layer/conf.xml	Tue Mar 16 08:50:13 2010 +0000
+++ b/gnv-artifacts/doc/conf/products/layer/conf.xml	Tue Mar 16 08:51:50 2010 +0000
@@ -1,6 +1,28 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <artifact name="layer">
     <states>
+
+        <state id="layer_mapviewerswitch" description="layer_mesh_area_one" state="de.intevation.gnv.state.DefaultAutoResumeState">
+            <!-- Empty State which will be used to integrate the switch for a 
+                 standalone and an mapviewer based call. -->
+            <inputvalues>
+                <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/>
+                <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
+            </inputvalues>
+        </state>
+        
+        <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
+            <from state="layer_mapviewerswitch"/>
+            <to state="layer_area"/>
+            <condition inputvalue="geometry" value="POLYGON" operator="notequal"/>
+        </transition>
+        
+        <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
+            <from state="layer_mapviewerswitch"/>
+            <to state="layer"/>
+            <condition inputvalue="geometry" value="POLYGON" operator="equal"/>
+        </transition>
+        
         <state id="layer_area" description="layer_area_one" state="de.intevation.gnv.state.DefaultState">
             <queryID>area_filter</queryID>
             <dataname>areaid</dataname>
@@ -70,7 +92,7 @@
             </outputsModes>
         </state>
          
-          <state id="layer" description="layer" state="de.intevation.gnv.state.DefaultState">
+        <state id="layer" description="layer" state="de.intevation.gnv.state.DefaultState">
              <queryID>layer</queryID>
              <dataname>layerid</dataname>
              <data-multiselect>false</data-multiselect>

http://dive4elements.wald.intevation.org