Call a cgi function
Void addStateFields( ElementTree parent, Void(a) fn, a state )
parent The parent element
fn The function to call
state The state to pass to the function
Adds the state and processing function variables to a block-level element within a form created with HTMLDocument.addLocalForm (3kaya) This function only works with the CGI(3kaya) state handling model, and is equivalent to using CGI.formHandler (3kaya) for non-HTMLDocument CGI programs.
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/
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.
CGI(3kaya)