%3 ::xowiki::formfield::TestItemField ::xowiki::formfield::TestItemField QM attachments_widget comp_correct_when_from_value correct_when_spec correct_when_widget form_markup text_attachments twocol_layout ::xowiki::formfield::FormGeneratorField ::xowiki::formfield::FormGeneratorField pretty_value render_input ::xowiki::formfield::TestItemField->::xowiki::formfield::FormGeneratorField ::xowiki::formfield::CompoundField ::xowiki::formfield::CompoundField ::xowiki::formfield::FormGeneratorField->::xowiki::formfield::CompoundField ::xowiki::formfield::test_item ::xowiki::formfield::test_item feedback_definition initialize ::xowiki::formfield::test_item->::xowiki::formfield::TestItemField

Class ::xowiki::formfield::test_item

::xowiki::formfield::test_item[i] create ... \
           [ -grading (default "exact") ] \
           [ -nr_choices (default "5") ] \
           [ -question_type (default "mc") ]

Wrapper for composite test items, containing specification for minutes, grading scheme, feedback levels, handling different types of questions ("interactions" in the terminology of QTI). When such a question is saved, an HTML form is generated, which is used as a question.
Documented Parameters:
feedback_level
"full", "single", or "none"
grading
one of "exact", "none", or one of the partial grading schemes
nr_choices
number of choices
question_type
"mc", "sc", "ot", or "st"
Defined in /var/www/openacs.org/packages/xowf/tcl/test-item-procs.tcl

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xowiki::formfield::TestItemField[i]

Methods (to be applied on instances)

  • feedback_definition (scripted)

  • grading (setter)

  • initialize (scripted)

  • nr_choices (setter)

  • question_type (setter)