Subversion Repositories wimsdev

Rev

Rev 9071 | Rev 9955 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9071 Rev 9291
Line 1... Line 1...
1
!! +exec+ +html+
1
!! +exec+ +html+
2
$lst_tit formcheckbox$lst_titend$type_exec
2
$lst_tit formcheckbox$lst_titend
-
 
3
 
-
 
4
<div>$type_exec</div>
-
 
5
 
3
  $lst_alias htmlcheckbox
6
<div>$lst_alias htmlcheckbox</div>
-
 
7
 
4
  $(lst_syntax)formcheckbox $emph name$emphend from $emph n1$emphend
8
<div>$(lst_syntax)formcheckbox $emph name$emphend from $emph n1$emphend
5
    to $emph n2$emphend prompt $emph promptlist $emphend<br/>
9
  to $emph n2$emphend prompt $emph promptlist $emphend
-
 
10
  </span>
-
 
11
  <br/>or<br/>
6
    </span>or<span class="tt"> <br/>
12
  <span class="tt">
7
    $!formcheckbox $emph name$emphend list
13
  $!formcheckbox $emph name$emphend list
8
    $emph selectlist$emphend prompt $emph promptlist$emphend
14
  $emph selectlist$emphend prompt $emph promptlist$emphend
9
    </span>
15
  </span>
-
 
16
</div>
-
 
17
 
10
  $lst_mean Creates a checkbox list menu under a previously defined html form. <br/>
18
<div>$lst_mean Creates a checkbox list menu under a previously defined html form. <br/>
11
  This command speeds up the creation of checkboxed menus, as well as simplifies
19
  This command speeds up the creation of checkboxed menus, as well as simplifies
12
  the source files. In the parameters, $emph name$emphend defines the
20
  the source files. In the parameters, $emph name$emphend defines the
13
  name field of the menu, and the values of the menu are either integers
21
  name field of the menu, and the values of the menu are either integers
14
  going from $emph n1$emphend to $emph n2$emphend (in the first syntax), or
22
  going from $emph n1$emphend to $emph n2$emphend (in the first syntax), or
15
  items in the list $emph selectlist$emphend. <br/>
23
  items in the list $emph selectlist$emphend. <br/>
Line 24... Line 32...
24
  $emph li$emphend, $emph td$emphend, the different items of
32
  $emph li$emphend, $emph td$emphend, the different items of
25
  the html form will be in the corresponding html environmment. If the
33
  the html form will be in the corresponding html environmment. If the
26
  variable $emph wims_ref_class$emphend is non empty, the class of
34
  variable $emph wims_ref_class$emphend is non empty, the class of
27
  this html environment is the value of this variable.
35
  this html environment is the value of this variable.
28
  The default of the menu will be the current value of the variable
36
  The default of the menu will be the current value of the variable
29
  $emph $$name$emphend.
37
  $emph $$name$emphend.</div>
-
 
38
 
-
 
39
<div>$lst_sample
-
 
40
<table class="wimstable" summary="list some samples for formcheckbox command">
-
 
41
<thead>
-
 
42
  <tr>
-
 
43
    <th>Command</th>
-
 
44
    <th>Result</th>
-
 
45
  </tr>
-
 
46
</thead>
-
 
47
<tbody>
-
 
48
  <tr>
-
 
49
    <td><code>!formcheckbox varCHK1 from 1 to 3 prompt txt1,txt2,txt3</code></td>
-
 
50
    <td>
-
 
51
        !formcheckbox varCHK1 from 1 to 3 prompt txt1,txt2,txt3
-
 
52
    </td>
-
 
53
  </tr>
-
 
54
    <tr>
-
 
55
    <td><code>!formcheckbox varCHK2 list a,b,c prompt txtA,txtB,txtC</code></td>
-
 
56
    <td>
-
 
57
        !formcheckbox varCHK2 list a,b,c prompt txtA,txtB,txtC
-
 
58
    </td>
-
 
59
  </tr>
-
 
60
 </tbody>
-
 
61
</table>
-
 
62
</div>