xowiki::Page instproc www-edit (public)

 <instance of xowiki::Page[i]> 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):
%3 test_create_form_with_form_instance create_form_with_form_instance (test xowiki) xowiki::Page instproc www-edit xowiki::Page instproc www-edit test_create_form_with_form_instance->xowiki::Page instproc www-edit test_create_form_with_numeric create_form_with_numeric (test xowiki) test_create_form_with_numeric->xowiki::Page instproc www-edit test_form_validate form_validate (test xowiki) test_form_validate->xowiki::Page instproc www-edit test_xowiki_test_cases xowiki_test_cases (test xowiki) test_xowiki_test_cases->xowiki::Page instproc www-edit export_vars export_vars (public) xowiki::Page instproc www-edit->export_vars template::util::lpop template::util::lpop (public) xowiki::Page instproc www-edit->template::util::lpop

Testcases:
xowiki_test_cases, create_form_with_form_instance, create_form_with_numeric, form_validate
[ show source ]
Show another procedure: