xowf::test_item::Answer_manager method postprocess_question_html (protected)
<instance of xowf::test_item::Answer_manager> postprocess_question_html \ -question_form question_form -achieved_points achieved_points \ -manual_grading manual_grading -submission submission \ -runtime_panel_view runtime_panel_view -exam_state exam_state \ [ -feedbackFiles feedbackFiles ]
Defined in packages/xowf/tcl/test-item-procs.tcl
Post-process the HTML of a question by adding information of the student as data attributes, such as achieved and achievable points, setting CSS classes, mangling names of composite questions to match with the data in achieved_points,
- Switches:
- -question_form (required)
- -achieved_points (required)
- -manual_grading (required)
- -submission (required, object)
- -runtime_panel_view (required)
- -exam_state (required)
- -feedbackFiles (optional)
- Returns:
- HTML block
- Testcases:
- No testcase defined.