first cadoles' version
This commit is contained in:
34
tests/flattener_dicos/10load_frozenifin_noexist/00-base.xml
Normal file
34
tests/flattener_dicos/10load_frozenifin_noexist/00-base.xml
Normal file
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<creole>
|
||||
|
||||
<variables>
|
||||
<family name='general'>
|
||||
<variable name='condition' type='string' description="No change">
|
||||
<value>tous</value>
|
||||
</variable>
|
||||
<variable name='mode_conteneur_actif' type='oui/non' description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
<variable name='mode_conteneur_actif2' type='oui/non' description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
</family>
|
||||
<separators/>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_enum" target="condition">
|
||||
<param>['tous', 'authentifié', 'aucun']</param>
|
||||
</check>
|
||||
<condition name='frozen_if_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>
|
||||
|
||||
</creole>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
@ -0,0 +1,36 @@
|
||||
<creole>
|
||||
<constraints/>
|
||||
<family doc="" name="creole">
|
||||
<family hidden="False" mode="normal" doc="general" name="general">
|
||||
<variable doc="No change" multi="False" name="condition" type="choice">
|
||||
<choice type="string">tous</choice>
|
||||
<choice type="string">authentifié</choice>
|
||||
<choice type="string">aucun</choice>
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<value type="string">tous</value>
|
||||
</variable>
|
||||
<variable doc="No change" multi="False" name="mode_conteneur_actif" type="choice">
|
||||
<choice type="string">oui</choice>
|
||||
<choice type="string">non</choice>
|
||||
<property>force_default_on_freeze</property>
|
||||
<property>frozen</property>
|
||||
<property>hidden</property>
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<value type="string">non</value>
|
||||
</variable>
|
||||
<variable doc="No change" multi="False" name="mode_conteneur_actif2" type="choice">
|
||||
<choice type="string">oui</choice>
|
||||
<choice type="string">non</choice>
|
||||
<property>force_default_on_freeze</property>
|
||||
<property>frozen</property>
|
||||
<property>hidden</property>
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<value type="string">non</value>
|
||||
</variable>
|
||||
</family>
|
||||
<separators/>
|
||||
</family>
|
||||
</creole>
|
Reference in New Issue
Block a user