xowiki::Page instproc www-edit (public)
<instance of xowiki::Page> www-edit [ -new on|off ] \ [ -autoname on|off ] [ -validation_errors validation_errors ]
Defined in /var/www/openacs.org/packages/xowiki/tcl/xowiki-www-procs.tcl
This web-callable method renders a page in "edit" mode (i.e. provide input fields). This is the old-style edit based on the old-style xowiki-form-procs. FormPages should be used when possible for better user experience.
- Switches:
- -new (optional, boolean, defaults to
"false"
)- is this an edit-new operation?
- -autoname (optional, boolean, defaults to
"false"
)- value to be passed to getFormClass
- -validation_errors (optional)
- ignored in this class, but used for compatibility with FormPage.www-edit
- Testcases:
- xowiki_test_cases, create_form_with_form_instance, create_form_with_numeric, form_validate