Mercurial > dive4elements > gnv-client
changeset 739:a40a6de70459
Modified the Workflow of Verticalprofiles on TimeSeriespoints that the Data that was sent by the Mapviewer-Interface take effect.
gnv-artifacts/trunk@778 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 15 Mar 2010 15:26:26 +0000 |
parents | 40c9a48f51ea |
children | 0563389138bb |
files | gnv-artifacts/ChangeLog gnv-artifacts/doc/conf/products/verticalprofile/conf_timeseriespoint.xml |
diffstat | 2 files changed, 46 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog Mon Mar 15 15:15:56 2010 +0000 +++ b/gnv-artifacts/ChangeLog Mon Mar 15 15:26:26 2010 +0000 @@ -1,3 +1,10 @@ +2010-03-15 Tim Englich <tim.englich@intevation.de> + + * doc/conf/products/verticalprofile/conf_timeseriespoint.xml: + Modified the Workflow so that the Inputvalues of the Mapviewer-Interface + take affect. E.g. The Regionfilter will not be displaied if an Polygon + was send by the Mapviewer. + 2010-03-15 Tim Englich <tim.englich@intevation.de> * doc/conf/queries.properties:
--- a/gnv-artifacts/doc/conf/products/verticalprofile/conf_timeseriespoint.xml Mon Mar 15 15:15:56 2010 +0000 +++ b/gnv-artifacts/doc/conf/products/verticalprofile/conf_timeseriespoint.xml Mon Mar 15 15:26:26 2010 +0000 @@ -1,6 +1,45 @@ <?xml version="1.0" encoding="UTF-8"?> <artifact name="verticalProfile"> <states> + <state id="verticalprofile_mapviewerswitch" description="verticalprofile_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="Integer" multiselect="false" usedinquery="0"/> + <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> + </inputvalues> + </state> + + <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition"> + <from state="verticalprofile_mapviewerswitch"/> + <to state="verticalprofile_area"/> + <condition inputvalue="geometry" value="POLYGON" operator="notequal"/> + </transition> + + <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition"> + <from state="verticalprofile_mapviewerswitch"/> + <to state="verticalprofile_with_wkt"/> + <condition inputvalue="geometry" value="POLYGON" operator="equal"/> + </transition> + + <state id="verticalprofile_with_wkt" description="verticalprofile_timeseriespoint" state="de.intevation.gnv.state.PreSettingsTransferState"> + <queryID>timeseries_timeseriespoint_with_wkt</queryID> + <dataname>featureid</dataname> + <data-multiselect>false</data-multiselect> + <presettings-transfer presetting="geometry" inputvalue="wktid"/> + <inputvalues> + <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/> + <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> + <inputvalue name="wktid" type="Geometry" multiselect="false" usedinquery="1"/> + <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="0"/> + </inputvalues> + </state> + + <transition transition="de.intevation.gnv.transition.DefaultTransition"> + <from state="verticalprofile_with_wkt"/> + <to state="verticalprofile_parameter"/> + </transition> + <state id="verticalprofile_area" description="verticalprofile_area_one" state="de.intevation.gnv.state.DefaultState"> <queryID>area_filter</queryID> <dataname>areaid</dataname>