99_multi_cond.xml
1 |
<?xml version="1.0" encoding="utf-8"?>
|
---|---|
2 |
|
3 |
<creole>
|
4 |
|
5 |
<files/> |
6 |
<containers/> |
7 |
|
8 |
<variables>
|
9 |
|
10 |
<family name='test'> |
11 |
<variable name='condition' type='oui/non' description='Condition'> |
12 |
<value>oui</value> |
13 |
</variable>
|
14 |
<variable name='resultat1' description='Option 1' > |
15 |
<value>resultat1</value> |
16 |
</variable>
|
17 |
<variable name='resultat2' description='Option 2'> |
18 |
<value>resultat2</value> |
19 |
</variable>
|
20 |
<variable name='resultat' description='Résultat'/> |
21 |
</family>
|
22 |
<separators/> |
23 |
|
24 |
</variables>
|
25 |
|
26 |
<constraints>
|
27 |
<fill name='calc_multi_condition' target='resultat'> |
28 |
<param>non</param> |
29 |
<param type='eole' name='condition_1'>condition</param> |
30 |
<param type='eole' name='match'>resultat1</param> |
31 |
<param type='eole' name='mismatch' hidden='False'>resultat2</param> |
32 |
</fill>
|
33 |
<condition name='disabled_if_in' source='condition'> |
34 |
<param>non</param> |
35 |
<target type='variable'>resultat2</target> |
36 |
</condition>
|
37 |
</constraints>
|
38 |
|
39 |
<help/> |
40 |
|
41 |
</creole>
|
42 |
<!-- vim: ts=4 sw=4 expandtab
|
43 |
-->
|