xowf::test_item::Answer_manager method render_answers_with_edit_history (public)

 <instance of xowf::test_item::Answer_manager[i]> render_answers_with_edit_history \
    examWf

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

Analyze the student submissions an find situations, where input is "cleared" between revisions and return the HTML rendering. TODO: we should resolve this, move the exam protocol rendering (www-print-answers) also into the answer manager and make it configurable to provide this as an alternate item renderer. The current result is provided for all submission,s, but in general, this could be as well made available per question or per-student.

Parameters:
examWf (required, object)
Returns:
HTML

Testcases:
No testcase defined.
Source code:
set wf [:get_answer_wf $examWf]
if {$wf eq ""} {
  return ""
}

set submissions [:submissions -wf $wf]
set HTML [:render_submissions=edit_history -examWf $examWf -submissions $submissions]

return $HTML
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: