1HTMLDocument.addRemoteForm(3kaKyaay)a module referHeTnMcLeDocument.addRemoteForm(3kaya)
2
3
4

NAME

6       HTMLDocument::addRemoteForm - Add a form to call another application
7

SYNOPSIS

9       ElementTree  addRemoteForm( ElementTree parent, String action, FormType
10       method )
11

ARGUMENTS

13       parent The parent element
14
15       action The URL of the other application
16
17       method The method to use to send the form data
18

DESCRIPTION

20       This adds a form that points to a specified URL. Unless the  other  URL
21       is  a  (byte  for  byte) identical copy of the current application, you
22       will not be able to use Kaya's special state handling,  and  must  con‐
23       struct  another  way of passing the information. If the security of the
24       information is not critical, and the other application is also  a  Kaya
25       application, then the Pickle(3kaya) module may be of use.
26
27
28    form = addRemoteForm(doc.body,
29                         "http://www.example.com/email.cgi",
30                         FormPost);
31
32       Note that in HTML form input controls may not be placed directly inside
33       a form - you must add block-level elements to the form and add controls
34       to  those  elements.  The fieldset element is especially suited to this
35       and the HTMLDocument.addFieldset (3kaya) function handles this.
36

AUTHORS

38       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
39       (kaya@kayalang.org). For further information see http://kayalang.org/
40

LICENSE

42       The  Kaya  standard  library  is free software; you can redistribute it
43       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
44       License  (version  2.1  or  any later version) as published by the Free
45       Software Foundation.
46
48       HTMLDocument.FormType (3kaya)
49       HTMLDocument.addFieldset (3kaya)
50       HTMLDocument.addLocalForm (3kaya)
51
52
53
54Kaya                             December 2010HTMLDocument.addRemoteForm(3kaya)
Impressum