-
Sub-task
-
Resolution: Fixed
-
Minor
-
2.2
-
None
-
MOODLE_22_STABLE
-
MOODLE_22_STABLE
Dear collegues
we will very much appreciate your opinion on the following question.
Advanced grading provides API for developers to include their grading method into the existing Grade form (moodleform).
David thinks that this injection should be done as a widget, and each plugin should return a widget (inheriting from the base class)
I think that each advanced grading plugin should develop their moodleform element.
Pros & Cons that we see at the moment:
WIDGET:
PROS:
- use renderers
CONS:
- without Javascript enabled, widget must open a new window
FORM ELEMENT:
PROS:
- works as well without JavaScript
CONS:
- forms do not support renderers
- when there is an error, the whole element is made red and one error is printed on the top (even if element actually consists of 30 simple elements)