xowiki::test::get_object_name (private)
xowiki::test::get_object_name node
Defined in packages/xowiki/tcl/test/test-procs.tcl
This proc obtains the "value" attribute of an input field named "__object_name". This can be used to obtain the object_id behind a form. This object_id is used as well in the construction of HTML ids.
- Parameters:
- node (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- create_form_with_form_instance, create_form_with_numeric, form_validate
Source code: set result [$node selectNodes {string(//form//input[@name="__object_name"]/@value)}] if {$result ne ""} { set result [::security::parameter::validated $result] } return $resultXQL Not present: Generic, PostgreSQL, Oracle