xowiki::test::get_named_form_value (private)

 xowiki::test::get_named_form_value node formCSSClass name

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

Obtain the "value" attribute of an input field with the provided "name" from a form identified by the "formCSSClass".

Parameters:
node (required)
formCSSClass (required)
name (required)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
        set selector [subst {string(//form\[contains(@class,'$formCSSClass')\]//input\[@name='$name'\]/@value)}]
        ns_log notice "get_named_form_value selector = $selector"
        return [$node selectNodes  $selector]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: