xowiki::Page instproc www-create-new (public)

 <instance of xowiki::Page[i]> www-create-new \
    [ -parent_id parent_id ] [ -view_method view_method ] \
    [ -name name ] [ -nls_language nls_language ] \
    [ -publish_status publish_status ]

Defined in packages/xowiki/tcl/xowiki-www-procs.tcl

This web-callable method creates a new page, typically an instance of a form page. The method accesses several form variables such as "__form_redirect", "__text_to_html", "last_page_id", "name", "nls_language", "package_id", "package_instance", "page_order", "parent_id", "publish_status", "source_item_id", "title" The call redirects either to the "__form_redirect" or to the created page.

Switches:
-parent_id
(defaults to "0") (optional)
-view_method
(defaults to "edit") (optional)
-name
(optional)
-nls_language
(optional)
-publish_status
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_create_composite_test_item create_composite_test_item (test xowf) xowiki::Page instproc www-create-new xowiki::Page instproc www-create-new test_create_composite_test_item->xowiki::Page instproc www-create-new test_create_folder_and_configure create_folder_and_configure (test xowiki) test_create_folder_and_configure->xowiki::Page instproc www-create-new test_create_form_with_form_instance create_form_with_form_instance (test xowiki) test_create_form_with_form_instance->xowiki::Page instproc www-create-new test_create_form_with_numeric create_form_with_numeric (test xowiki) test_create_form_with_numeric->xowiki::Page instproc www-create-new test_create_test_items create_test_items (test xowf) test_create_test_items->xowiki::Page instproc www-create-new _ _ (public) xowiki::Page instproc www-create-new->_ ad_return_complaint ad_return_complaint (public) xowiki::Page instproc www-create-new->ad_return_complaint ad_script_abort ad_script_abort (public) xowiki::Page instproc www-create-new->ad_script_abort ad_text_to_html ad_text_to_html (public) xowiki::Page instproc www-create-new->ad_text_to_html ad_try ad_try (public) xowiki::Page instproc www-create-new->ad_try

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