.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "HTMLDocument.localControlURL" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" HTMLDocument::localControlURL \- Create a URL that calls a local function .SH "SYNOPSIS" .B String localControlURL( \fIb(a) fn, a state, String prefix=""\fP .B ")" .SH "ARGUMENTS" .PP .B "fn" The function to call .PP .B "state" The state to pass .PP .B "prefix" An optional prefix to the control variables. Different components may use different prefixes, allowing multiple .B "Webapp.runHandler"(3kaya) functions. .SH "DESCRIPTION" .PP Create a URL that calls a local function for use in hyperlinks. You may pass additional parameters by appending them to the URL, of course. .IP "" -4 url = localControlURL(browseData,logindata); url += ";datasource=12"; .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH LICENSE The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. .SH "RELATED" .PD 0 .PP .B "CGI.imageHandler"(3kaya) .PP .B "CGI.linkURL"(3kaya) .PP .B "HTMLDocument.encodeControlState"(3kaya) .PP .B "HTMLDocument.addLocalControlInput"(3kaya) .PD 0.4v