creole/tests/flattener_dicos/40ifin_validenum/00-base.xml

42 lines
1.2 KiB
XML
Raw Normal View History

2019-11-23 08:17:35 +01:00
<?xml version="1.0" encoding="utf-8"?>
<creole>
<files/>
<containers/>
<variables>
<family name='general'>
<variable name='mode_conteneur_actif' type='oui/non' description="No change">
<value>non</value>
</variable>
</family>
<family name='general2' hidden="True">
<variable name='mode_conteneur_actif2' type='oui/non' description="No change">
<value>non</value>
</variable>
<variable name='mode_conteneur_actif3' type='string' description="No change"/>
</family>
<separators/>
</variables>
<constraints>
<check name="valid_enum" target="mode_conteneur_actif3">
<param>['a','b','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>
<help/>
</creole>
<!-- vim: ts=4 sw=4 expandtab
-->