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

34 lines
1.2 KiB
XML
Raw Normal View History

2020-12-24 17:37:14 +01:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail>
<variables>
<family name="general">
2021-01-10 16:53:41 +01:00
<variable name="mode_conteneur_actif" type="string" description="No change">
2020-12-24 17:37:14 +01:00
<value>non</value>
</variable>
</family>
<family name="general2" hidden="True">
2021-01-10 16:53:41 +01:00
<variable name="mode_conteneur_actif2" type="string" description="No change">
2020-12-24 17:37:14 +01:00
<value>non</value>
</variable>
<variable name="mode_conteneur_actif3" type="string" description="No change"/>
</family>
</variables>
<constraints>
<check name="valid_enum" target="mode_conteneur_actif3">
<param>a</param>
<param>b</param>
<param>c</param>
</check>
<condition name="disabled_if_in" source="mode_conteneur_actif3">
<param>d</param>
<target type="variable">mode_conteneur_actif</target>
</condition>
<condition name="disabled_if_not_in" source="mode_conteneur_actif3">
<param>d</param>
<target type="variable">mode_conteneur_actif2</target>
</condition>
</constraints>
</rougail>
<!-- vim: ts=4 sw=4 expandtab
-->