1CGI.formHandler(3kaya) Kaya module reference CGI.formHandler(3kaya)
2
3
4
6 CGI::formHandler - Set up a form.
7
9 HTML formHandler( Void(a) fn, a dat, Bool prepost=true )
10
12 fn The handler function
13
14 dat Data to pass to the handler function
15
16 prepost Whether to run the PreContent and PostContent functions after
17 submitting the form. This defaults to true, but may be useful to dis‐
18 able if the form results are not HTML.
19
21 Set up a form, which when submitted calls fn(dat)
22
23
25 Kaya standard library by Edwin Brady, Chris Morris and others
26 (kaya@kayalang.org). For further information see http://kayalang.org/
27
29 The Kaya standard library is free software; you can redistribute it
30 and/or modify it under the terms of the GNU Lesser General Public
31 License (version 2.1 or any later version) as published by the Free
32 Software Foundation.
33
34
35
36Kaya December 2010 CGI.formHandler(3kaya)