Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-34868

Allow question types to be selectively disabled via Sakai properties

    Details

    • 10 status:
      Resolved
    • Property addition/change required:
      Yes
    • Previous Issue Keys:
      SAM-2296

      Description

      In Samigo, it's possible to disable question types by editing the managed-bean
      org.sakaiproject.tool.assessment.ui.bean.author.ItemConfigBean and setting values to false, but I don't see any way to set that via property. It would be a nice feature to have sakai properties mapped to each of these so we can disable certain question types without rebuilding Samigo. There are a lot of types now and some of them aren't useful for all installs and some are still experimental.

      For instance I'm thinking of changing all of the getters to:
      public boolean isShowAudio()

      { return showAudio; }

      public boolean isShowAudio()

      { return ServerConfigurationService.getBoolean("samigo.question.showaudio",showAudio); }

      And changing the code to use the getters instead of the private variables, unless there is some easier way to do it already.


      List of properties corresponding to each question type (in order of appearance on list when selecting question to add to test):

      Question Type Property
      Calculated Question samigo.question.show.calculatedquestion
      File Upload samigo.question.show.fileupload
      Fill in the Blank samigo.question.show.fillintheblank
      Hot Spot samigo.question.show.showImageMapQuestion
      Matching samigo.question.show.matching
      Multiple Choice, Single Correct samigo.question.show.multiplechoicesinglecorrect
      Multiple Choice, Multiple Correct samigo.question.show.multiplechoicemultiplecorrect
      Numeric Response samigo.question.show.fillinnumeric
      Short Answer/Essay samigo.question.show.essay
      Student Audio Response samigo.question.show.audio
      Survey samigo.question.show.survey
      Survey - Matrix of Choices samigo.question.show.matrixsurvey
      True False samigo.question.show.truefalse
      Extended Matching (removed in Sakai 11) samigo.question.show.extendedmatchingitems

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code