xowf::test_item::Question_manager method exam_configuration_render_fields (protected)

 <instance of xowf::test_item::Question_manager[i]> exam_configuration_render_fields \
    [ -modifiable modifiable ] fields

Defined in packages/xowf/tcl/test-item-procs.tcl

Render the provided fields via tDOM. Non-modifiable form-fields are disabled.

Switches:
-modifiable
(optional)
list of field names which are modifiable
Parameters:
fields
Returns:
HTML

Partial Call Graph (max 5 caller/called nodes):
%3 xo::require_html_procs xo::require_html_procs (public) xowf::test_item::tdom_render xowf::test_item::tdom_render (private) xowf::test_item::Question_manager instproc exam_configuration_render_fields xowf::test_item::Question_manager instproc exam_configuration_render_fields xowf::test_item::Question_manager instproc exam_configuration_render_fields->xo::require_html_procs xowf::test_item::Question_manager instproc exam_configuration_render_fields->xowf::test_item::tdom_render

Testcases:
No testcase defined.
Source code:
#ns_log notice "configuration_render called with modifiable <$modifiable>"
::xo::require_html_procs

set content ""
foreach f $fields {
  if {[$f name] ni $modifiable} {
    $f set_disabled true
    $f help_text ""
  }
  append content [tdom_render {
    $f render
  }]
}
return $content
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: