Project

General

Profile

test2.xml

Christophe Dezé, 02/09/2012 01:36 PM

Download (1.71 KB)

 
1
<?xml version="1.0" encoding="UTF-8"?>
2

    
3
<creole>
4

    
5
        <variables>
6
        <family name='parfeu Nantes'>
7
            <variable name='test2' type='oui/non' description='Règles liées aux protocoles ... (h323,ldap,rdp,...)'>
8
                <value>non</value>
9
            </variable>
10
         <!-- REGLE NANTES -->
11

    
12
        <!-- pop -->
13
        <variable name='fw_pop' type='oui/non' description='Règles liées au protocole pop'>
14
                <value>non</value>
15
        </variable>
16
        <variable name='fw_pop_ip' type='ip' description='ip du serveur pop' />
17

    
18
        <!-- imap -->
19
        <variable name='fw_imap' type='oui/non' description='Règles liées au protocole imap'>
20
                <value>non</value>
21
        </variable>
22
        <variable name='fw_imap_ip' type='ip' description='ip du serveur imap' />
23
        <separators>
24
  <separator name='test2' never_hidden='True' >__________test2__________</separator>
25
        <separator name='fw_pop' >pop</separator>
26
        <separator name='fw_imap' >imap</separator>
27
        </separators>
28
                </family>
29
        </variables>
30
<constraints>
31

    
32
        <!-- pop -->
33
        <condition  name='hidden_if_in' source='test2'>
34
          <param>non</param>
35
          <target >fw_pop_ip</target>
36
          <target >fw_pop</target>
37
        </condition>
38
        <condition  name='hidden_if_in' source='fw_pop'>
39
          <param>non</param>
40
          <target >fw_pop_ip</target>
41
        </condition>
42

    
43
        <!-- imap -->
44
        <condition  name='hidden_if_in' source='test2'>
45
          <param>non</param>
46
          <target >fw_imap_ip</target>
47
          <target >fw_imap</target>
48
        </condition>
49
        <condition  name='hidden_if_in' source='fw_imap'>
50
          <param>non</param>
51
          <target >fw_imap_ip</target>
52
        </condition>
53
</constraints>
54
    <help>
55
    </help>
56
</creole>