Generic::Form instproc generate (public)
<instance of Generic::Form> generate [ -template template ] \ [ -mode mode ] [ -export export ]
Defined in /var/www/openacs.org/packages/xotcl-core/tcl/generic-procs.tcl
The method generate is used to actually generate the form template from the specifications and to set up page_title and context when appropriate.
- Switches:
- -template (optional, defaults to
"formTemplate"
)- is the name of the Tcl variable to contain the filled in template
- -mode (optional, defaults to
"edit"
)- -export (optional)
- list of attribute value pairs to be exported to the form (nested list)
- Testcases:
- xowiki_test_cases