rougail/tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/00-base.xml

36 lines
1.1 KiB
XML
Raw Normal View History

2020-12-24 17:37:14 +01:00
<?xml version='1.0' encoding='UTF-8'?>
2021-02-18 18:57:50 +01:00
<rougail version="0.9">
2020-12-24 17:37:14 +01:00
<services>
<service name="test">
2021-02-19 14:44:27 +01:00
<file filelist="afilllist">/tmp/file</file>
2020-12-24 17:37:14 +01:00
</service>
</services>
<variables>
<family name="general">
<variable name="condition" type="string" description="No change">
<value>non</value>
</variable>
2021-01-10 16:53:41 +01:00
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
2020-12-24 17:37:14 +01:00
<value>non</value>
</variable>
2021-01-10 16:53:41 +01:00
<variable name="mode_conteneur_actif2" type="string" description="No change" hidden="True">
2020-12-24 17:37:14 +01:00
<value>non</value>
</variable>
</family>
</variables>
<constraints>
<check name="valid_enum">
2020-12-24 17:37:14 +01:00
<param>non</param>
<param>statique</param>
<target>condition</target>
2020-12-24 17:37:14 +01:00
</check>
<condition name="disabled_if_not_in" source="condition">
<param>statique</param>
<target type="filelist">afilllist</target>
</condition>
</constraints>
</rougail>