1CGI.linkHandler(3kaya) Kaya module reference CGI.linkHandler(3kaya)
2
3
4
6 CGI::linkHandler - Create a hyperlink.
7
9 HTML linkHandler( Void(a) fn, a dat, String inf, [Pair<String, String>
10 ] others=[], Bool prepost=true )
11
13 fn The handler function
14
15 dat Data to pass to the handler function
16
17 inf The link text
18
19 others A list of name-value pairs of additional variables to add in the
20 link, defaulting to the empty list.
21
22 prepost Whether to run the PreContent and PostContent functions after
23 submitting the form. This defaults to true, but may be useful to dis‐
24 able if the form results are not HTML.
25
27 Return the HTML for a hyperlink, which when followed calls fn(dat)
28
29
31 Kaya standard library by Edwin Brady, Chris Morris and others
32 (kaya@kayalang.org). For further information see http://kayalang.org/
33
35 The Kaya standard library is free software; you can redistribute it
36 and/or modify it under the terms of the GNU Lesser General Public
37 License (version 2.1 or any later version) as published by the Free
38 Software Foundation.
39
40
41
42Kaya December 2010 CGI.linkHandler(3kaya)