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

39 lines
1.3 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9">
<services>
<service name='test'>
<file>/etc/mailname</file>
</service>
</services>
<variables>
<family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value>
</variable>
<variable name="condition" type="string" description="condition">
<value>oui</value>
</variable>
<variable name="leader" type="string" description="leader" multi="True">
<value>a</value>
<value>b</value>
</variable>
<variable name="follower1" type="string" description="follower1"/>
<variable name="follower2" type="string" description="follower2"/>
</family>
</variables>
<constraints>
<group leader="leader">
<follower>follower1</follower>
<follower>follower2</follower>
</group>
<fill name="calc_val">
<param name="valeur">valfill</param>
<target>follower1</target>
</fill>
<condition name="disabled_if_in" source="leader">
<param>a</param>
<target type="variable">follower1</target>
</condition>
</constraints>
</rougail>