xowiki::Page instproc www-edit (public)
<instance of xowiki::Page> www-edit [ -new on|off ] \ [ -autoname on|off ] [ -validation_errors validation_errors ]
Defined in 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
(boolean) (defaults to"false"
) (optional)- is this an edit-new operation?
- -autoname
(boolean) (defaults to"false"
) (optional)- value to be passed to getFormClass
- -validation_errors
(optional)- ignored in this class, but used for compatibility with FormPage.www-edit
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- xowiki_test_cases, create_form_with_form_instance, create_form_with_numeric, form_validate