rougail/tests/dictionaries/40ifin_validenum/00-base.xml

40 lines
1.2 KiB
XML
Raw Normal View History

2019-11-24 20:25:09 +01:00
<?xml version='1.0' encoding='UTF-8'?>
2020-02-16 21:27:42 +01:00
<rougail>
2019-11-23 08:17:35 +01:00
2020-02-14 17:59:39 +01:00
<services/>
2019-11-23 08:17:35 +01:00
<variables>
2019-11-24 20:25:09 +01:00
<family name="general">
<variable name="mode_conteneur_actif" type="oui/non" description="No change">
2019-11-23 08:17:35 +01:00
<value>non</value>
</variable>
</family>
2019-11-24 20:25:09 +01:00
<family name="general2" hidden="True">
<variable name="mode_conteneur_actif2" type="oui/non" description="No change">
2019-11-23 08:17:35 +01:00
<value>non</value>
</variable>
2019-11-24 20:25:09 +01:00
<variable name="mode_conteneur_actif3" type="string" description="No change"/>
2019-11-23 08:17:35 +01:00
</family>
<separators/>
</variables>
<constraints>
<check name="valid_enum" target="mode_conteneur_actif3">
<param>['a','b','c']</param>
</check>
2019-11-24 20:25:09 +01:00
<condition name="disabled_if_in" source="mode_conteneur_actif3">
2019-11-23 08:17:35 +01:00
<param>d</param>
2019-11-24 20:25:09 +01:00
<target type="variable">mode_conteneur_actif</target>
2019-11-23 08:17:35 +01:00
</condition>
2019-11-24 20:25:09 +01:00
<condition name="disabled_if_not_in" source="mode_conteneur_actif3">
2019-11-23 08:17:35 +01:00
<param>d</param>
2019-11-24 20:25:09 +01:00
<target type="variable">mode_conteneur_actif2</target>
2019-11-23 08:17:35 +01:00
</condition>
</constraints>
<help/>
2020-02-16 21:27:42 +01:00
</rougail>
2019-11-23 08:17:35 +01:00
<!-- vim: ts=4 sw=4 expandtab
-->