Subversion Repositories wimsdev

Rev

Rev 5921 | Rev 9071 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
32 reyssat 1
!! +exec+ +html+
2
$lst_tit form$lst_titend$type_exec
5921 bpr 3
  $(lst_syntax)form $emph cmdvar$emphend</span>
5766 bpr 4
  $lst_mean Creates a html form pointing to the wims server. <br/>
32 reyssat 5
  Whenever possible, this command should be used instead of a direct use of
5766 bpr 6
  html tag $emph&lt;form>$emphend. <br/>
32 reyssat 7
  This command will create a &lt;form> tag pointing to the wims server, adding
8
  &lt;input> fields to pass session number (and other reserved things in the
9
  future). In lines which follow, other input (or select) fields may be
5928 bpr 10
  added to the form. A final $emph !formend$emphend must also be added by the
5766 bpr 11
  programmer. <br/>
32 reyssat 12
  $emph cmdvar$emphend is an optional parameter. Its value should be a valid
13
  value for the variable $emph cmd$emphend. In this case the value $emph
14
  cmdvar$emphend will be automatically submitted to the variable $emph cmd
15
  $emphend. If this parameter is missing or is invalid, then the programmer
5928 bpr 16
  should add a &lt;input type="hidden" name="cmd" value="..."> tag before the
32 reyssat 17
  final &lt;/form>. <p>
18
  The target of the form can be controlled by the variable
19
  $emph wims_ref_target$emphend. It can also be defined via an optional word
20
  $emph target=...$emphend. Note that in this case the target must start with
21
  $emph wims_$emphend.
5920 bpr 22
  </p><p>
32 reyssat 23
  The variable $emph wims_form_method $emphend which must be either `get' or
24
  `post' controls the method of the form.
25
  This method defaults to `post' for tool modules, and to `get' for all
26
  other modules.
5920 bpr 27
  </p>