Provided by: kaya_0.4.4-6ubuntu3_amd64 bug

NAME

       HTMLDocument::addStateFields - Call a CGI function

SYNOPSIS

       Void addStateFields( ElementTree parent, Void(a) fn, a state )

ARGUMENTS

       parent The parent element

       fn The function to call

       state The state to pass to the function

DESCRIPTION

       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.

AUTHORS

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

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.

RELATED

       CGI(3kaya)

Kaya                                                July 2013                 HTMLDocument.addStateFields(3kaya)