condition and check

This commit is contained in:
2019-11-27 14:03:34 +01:00
parent 590283ef25
commit 4c84a8b89b
169 changed files with 316 additions and 434 deletions

View File

@ -15,7 +15,6 @@
<constraints>
<check name="valid_enum" target="mode_conteneur_actif">
<param>['a','b','c']</param>
<param name="checkval">False</param>
</check>
</constraints>

View File

@ -1 +1 @@
{"creole.general.mode_conteneur_actif": "a"}
{"creole.general.mode_conteneur_actif": "b"}

View File

@ -1,17 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<creole>
<constraints>
<check name="valid_enum" target="creole.general.mode_conteneur_actif" transitive="True" warnings_only="False">
<param type="string">['a','b','c']</param>
</check>
</constraints>
<family doc="" name="creole">
<family doc="general" name="general">
<property>normal</property>
<variable doc="No change" multi="False" name="mode_conteneur_actif" type="string">
<variable doc="No change" multi="False" name="mode_conteneur_actif" type="choice">
<choice type="string">a</choice>
<choice type="string">b</choice>
<choice type="string">c</choice>
<property>mandatory</property>
<property>normal</property>
<value>a</value>
<value type="string">b</value>
</variable>
</family>
<separators/>