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

30 lines
1.0 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9">
<variables>
<family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value>
</variable>
<variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value>
</variable>
<variable name="mode_conteneur_actif2" type="string" description="No change">
<value>non</value>
</variable>
</family>
<family name="disabled_family">
<variable name="mode_conteneur_actif3" type="string" description="No change">
<value>non</value>
</variable>
</family>
</variables>
<constraints>
<condition optional="True" name="disabled_if_in" source="condition">
<param>oui</param>
<target type="variable">mode_conteneur_actif1</target>
<target type="variable" optional="True">mode_conteneur_actif2</target>
<target type="family">disabled_family</target>
</condition>
</constraints>
</rougail>