Index: openacs-4/packages/assessment/www/doc/display_types.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/doc/display_types.adp,v
diff -u -N -r1.1.2.4 -r1.1.2.5
--- openacs-4/packages/assessment/www/doc/display_types.adp 9 Jun 2016 13:03:12 -0000 1.1.2.4
+++ openacs-4/packages/assessment/www/doc/display_types.adp 4 Jul 2016 11:33:12 -0000 1.1.2.5
@@ -10,11 +10,11 @@
assessment to assessment. Last but not least, the whole assessment
might be displayed differently depending on attributes and the type
of assessment we are talking about.
-
Each item has an item_display_type object
associated with it, that defines how to display the item. Each
@@ -28,60 +28,63 @@
Each item_display_type has a couple of
attributes in common.
Depending on the presentation_types additonal
attributes (presentation_type attributes) come into play
(are added as attributes to the CR item type) (mark: this is not
feature complete. It really is up to the coder to decide what
attributes each widget should have, down here are only
-*suggestions*). Additionally we're not mentioning all HTML
+*suggestions*). Additionally we're not mentioning all HTML
possibilities associated with each type (e.g. a textarea has width
and heigth..).
- textbox - single-line typed entry
- abs_size - An abstraction of the real size value in
-"small","medium","large". Up to the developer how this
-translates.
+"small","medium","large". Up to the
+developer how this translates.
text area - multiple-line typed entry
- abs_size - An abstraction of the real size value in
-"small","medium","large". Up to the developer how this
-translates.
+"small","medium","large". Up to the
+developer how this translates.
radiobutton - single-choice multiple-option
- choice_orientation - the pattern by which 2..n Item Choices are
-laid out when displayed. Note that this isn't a purely stylistic
-issue better left to the .adp templates or css; the patterns have
-semantic implications that the Assessment author appropriately
-should control here. Note also that Items with no Choices (eg a
-simple textbox Item) has no choice_orientation, but handles the
-location of that textbox relative to the Item label by the
-item_alignment option (discussed below).
+laid out when displayed. Note that this isn't a purely
+stylistic issue better left to the .adp templates or css; the
+patterns have semantic implications that the Assessment author
+appropriately should control here. Note also that Items with no
+Choices (eg a simple textbox Item) has no choice_orientation, but
+handles the location of that textbox relative to the Item label by
+the item_alignment option (discussed below).
- horizontal - all Choices are in one line
- vertical - all Choices are in one column
- matrix_col-row - Choices are laid out in matrix, filling first
col then row
- matrix_row-col -Choices are laid out in matrix, filling first
@@ -95,15 +98,16 @@
- choice_orientation (see above)
- allow_multiple_p - Is it allow to select multiple values ?
- sort_order: Numerical, alphabetic, randomized or by order of
entry (sort_order field).
-select - multiple-option displayed in "popup menu"select - multiple-option displayed in "popup
+menu"
- sort_order: Numerical, alphabetic, randomized or by order of
entry (sort_order field).
- allow_multiple_p - Is
it allow to select multiple values ?
multiple-choice-other: Consider, for instance, a combo box that
consists of a radiobutton plus a textbox -- used for instance when
-you need a check "other" and then fill in what that "other" datum
-is. In effect this is a single Item but it has two different forms:
-a radiobutton and a textbox.
+you need a check "other" and then fill in what that
+"other" datum is. In effect this is a single Item but it
+has two different forms: a radiobutton and a textbox.
- other_size: size of the other text field.
- other_label: label (instead of "other").
- display_type: What display type should be used for the
multiple-choice-part ?
@@ -121,11 +125,11 @@
Items:
- ranking - a set of alternatives each need to be assigned an
-exclusive rank ("Indicate the order of US Presidents from bad to
-worse"). Is this one Item with multiple Item Choices? Actually,
-not, since each alternative has a value that must be separately
-stored (the tester would want to know that the testee ranked GWB
-last, for instance).
- ...
+exclusive rank ("Indicate the order of US Presidents from bad
+to worse"). Is this one Item with multiple Item Choices?
+Actually, not, since each alternative has a value that must be
+separately stored (the tester would want to know that the testee
+ranked GWB last, for instance).
...
@@ -138,12 +142,13 @@
The section display page will be made up of the following
attributes:
-- Name: text. Name of the section like "test view sorted"
- Number of questions per page: integer. THIS HAS TO BE CHANGED
+
- Name: text. Name of the section like "test view
+sorted"
- Number of questions per page: integer. THIS HAS TO BE CHANGED
IN THE DATAMODELL FROM PAGINATION_STYLE. How many questions shall
be displayed per page in this section. Usually the answer would be
-"" for all questions on one page (default), or "1" for one question
-per page (aka one question at a time), but any number is
-imagineable.
-
+"" for all questions on one page (default), or
+"1" for one question per page (aka one question at a
+time), but any number is imagineable.
-
ADP style: ADP to
choose from that will control the makeup of the section along with
the option to create a new one and a link to edit existing ones
@@ -159,11 +164,12 @@
broken on purpose and result in an error.
- Submit Answer seperately: boolean. Shall each answer be
answered seperately, even if we display multiple answers? If yes,
-display a "save" button next to each answer along with green "V" if
-the answer has been already submitted. To finish the section, you
-still have to click on the OK button at the buttom. Once the
-section is finished all answers that have not been seperatly
-submitted will be treated as not being submitted at all.
+display a "save" button next to each answer along with
+green "V" if the answer has been already submitted. To
+finish the section, you still have to click on the OK button at the
+buttom. Once the section is finished all answers that have not been
+seperatly submitted will be treated as not being submitted at
+all.