xowiki::test::create_form_page (public)
xowiki::test::create_form_page -user_id user_id \ [ -last_request last_request ] -instance instance \ -parent_id parent_id -form_name form_name -path path \ [ -autonamed ] [ -update update ] [ -remove remove ] \ [ -extra_url_parameter extra_url_parameter ] \ [ -expect_validation_error expect_validation_error ]
Defined in packages/xowiki/tcl/test/test-procs.tcl
Create a form page via the web interface. In essence, this calls $instance/$path/$form_name?m=create-new
- Switches:
- -user_id (required, defaults to
"0"
)- -last_request (optional)
- -instance (required)
- -parent_id (required)
- -form_name (required)
- -path (required)
- -autonamed (optional, boolean, defaults to
"false"
)- -update (optional)
- -remove (optional)
- -extra_url_parameter (optional)
- -expect_validation_error (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- create_test_items, xowf, create_composite_test_item, create_folder_with_page, create_workflow_with_instance, create_form_with_form_instance, create_form_with_numeric, form_validate