Mercurial > dive4elements > gnv-client
view gnv-artifacts/doc/conf/products/layer/conf.xml @ 733:18dc6a99f4f4
Fixed NPE will using StateBase without a given Query.
gnv-artifacts/trunk@771 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 15 Mar 2010 12:34:40 +0000 |
parents | f6630d0203da |
children | a4b66195d55a |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <artifact name="layer"> <states> <state id="layer_area" description="layer_area_one" state="de.intevation.gnv.state.DefaultState"> <queryID>area_filter</queryID> <dataname>areaid</dataname> <data-multiselect>false</data-multiselect> <data-noselect>true</data-noselect> <inputvalues> <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/> <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="0"/> </inputvalues> </state> <transition transition="de.intevation.gnv.transition.ValueCompareTransition"> <from state="layer_area"/> <to state="layer_subarea"/> <condition inputvalue="areaid" value="n/n" operator="notequal"/> </transition> <transition transition="de.intevation.gnv.transition.ValueCompareTransition"> <from state="layer_area"/> <to state="layer_without_geom"/> <condition inputvalue="areaid" value="n/n" operator="equal"/> </transition> <state id="layer_subarea" description="layer_subaera" state="de.intevation.gnv.state.DefaultState"> <queryID>subarea_filter</queryID> <dataname>subareaid</dataname> <data-multiselect>false</data-multiselect> <inputvalues> <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/> <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="1"/> <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/> </inputvalues> </state> <transition transition="de.intevation.gnv.transition.DefaultTransition"> <from state="layer_subarea"/> <to state="layer"/> </transition> <state id="layer_without_geom" description="layer_without_geom" state="de.intevation.gnv.state.DefaultState"> <queryID>layer</queryID> <dataname>layerid</dataname> <data-multiselect>false</data-multiselect> <inputvalues> <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="1"/> <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="0"/> </inputvalues> </state> <transition transition="de.intevation.gnv.transition.DefaultTransition"> <from state="layer_without_geom"/> <to state="layer_calculate_results_without_geom"/> </transition> <state id="layer_calculate_results_without_geom" description="layer_calculate_results" state="de.intevation.gnv.state.layer.LayerOutputState"> <queryID>layer_request_data</queryID> <queryID-layerdata>layer_data</queryID-layerdata> <inputvalues> <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/> <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="1"/> </inputvalues> <outputsModes> <outputsMode name="zip" description="Export als ZIP-Archiv" mime-type="application/zip"/> <outputsMode name="wms" description="WMS-Layer bereitstellen" mime-type="text/url"/> </outputsModes> </state> <state id="layer" description="layer" state="de.intevation.gnv.state.DefaultState"> <queryID>layer</queryID> <dataname>layerid</dataname> <data-multiselect>false</data-multiselect> <inputvalues> <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="1"/> <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/> <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="0"/> </inputvalues> </state> <transition transition="de.intevation.gnv.transition.DefaultTransition"> <from state="layer"/> <to state="layer_calculate_results"/> </transition> <state id="layer_calculate_results" description="layer_calculate_results" state="de.intevation.gnv.state.layer.LayerOutputState"> <queryID>layer_request_data</queryID> <queryID-layerdata>layer_data_with_geom</queryID-layerdata> <queryID-geometry>geometry_for_subareafilter</queryID-geometry> <queryID-columns>layer_colums</queryID-columns> <inputvalue-geometry>subareaid</inputvalue-geometry> <inputvalues> <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/> <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="1"/> <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/> </inputvalues> <outputsModes> <outputsMode name="zip" description="Export als ZIP-Archiv" mime-type="application/zip"/> <outputsMode name="wms" description="WMS-Layer bereitstellen" mime-type="text/url"/> </outputsModes> </state> </states> </artifact>