rougail/tests/dictionaries/10load_mandatoryifnotin_noe.../00-base.xml

37 lines
1.1 KiB
XML
Raw Normal View History

2020-12-26 15:15:51 +01:00
<?xml version="1.0" encoding="utf-8"?>
2021-02-18 18:57:50 +01:00
<rougail version="0.9">
2020-12-26 15:15:51 +01:00
<variables>
<family name='general'>
<variable name='condition' type='string' description="No change">
<value>tous</value>
</variable>
2021-01-10 16:53:41 +01:00
<variable name='mode_conteneur_actif' type='string' description="No change" hidden="True">
2020-12-26 15:15:51 +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-26 15:15:51 +01:00
<value>non</value>
</variable>
</family>
</variables>
<constraints>
<check name="valid_enum">
2020-12-26 15:15:51 +01:00
<param>tous</param>
<param>authentifié</param>
<param>aucun</param>
<target>condition</target>
2020-12-26 15:15:51 +01:00
</check>
<condition name='mandatory_if_not_in' source='condition'>
<param>oui</param>
<param>non</param>
<target type='variable'>mode_conteneur_actif</target>
<target type='variable'>mode_conteneur_actif2</target>
</condition>
</constraints>
</rougail>
<!-- vim: ts=4 sw=4 expandtab
-->