xowiki::Page instproc www-create-new (public)
<instance of xowiki::Page> 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):
- 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