EduploneExam/questions BaseExamQuestion.py,1.19,1.20 FillGapQuestion.py,1.15,1.16 FreeTextQuestion.py,1.16,1.17 MatchingQuestion.py,1.16,1.17 MathQuestion.py,1.16,1.17 MultipleChoiceQuestion.py,1.15,1.16 SingleChoiceQuestion.py,1.16,1.17 TextTaskQuestion.py,1.16,1.17 TrueFalseQuestion.py,1.16,1.17

Nils Haagen <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam/questions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29746/questions

Modified Files:
	BaseExamQuestion.py FillGapQuestion.py FreeTextQuestion.py 
	MatchingQuestion.py MathQuestion.py MultipleChoiceQuestion.py 
	SingleChoiceQuestion.py TextTaskQuestion.py 
	TrueFalseQuestion.py 
Log Message:
added truefalse and singlechoice

Index: FreeTextQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/FreeTextQuestion.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** FreeTextQuestion.py	16 Dec 2004 11:14:49 -0000	1.16
--- FreeTextQuestion.py	16 Dec 2004 13:28:20 -0000	1.17
***************
*** 1,7 ****
  # File: FreeTextQuestion.py
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Wed Dec 15 14:24:36 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 1,12 ----
  # File: FreeTextQuestion.py
+ """\
+ unknown
+ 
+ RCS-ID $Id$
+ """
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
***************
*** 103,108 ****
          responseObj.setResponseValues(kw)
          responseObj.setScore(score)
-         
- 
  
  
--- 108,111 ----
***************
*** 114,118 ****
          #'content_icon':'FreeTextQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':0,
          'filter_content_types':1,
          }
--- 117,121 ----
          #'content_icon':'FreeTextQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':1,
          'filter_content_types':1,
          }

Index: FillGapQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/FillGapQuestion.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** FillGapQuestion.py	15 Dec 2004 14:37:02 -0000	1.15
--- FillGapQuestion.py	16 Dec 2004 13:28:20 -0000	1.16
***************
*** 1,6 ****
  # File: FillGapQuestion.py
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
! # Generated: Wed Dec 15 14:24:36 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 1,12 ----
  # File: FillGapQuestion.py
+ """\
+ unknown
+ 
+ RCS-ID $Id$
+ """
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
! #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
***************
*** 70,92 ****
  
      #Methods
  
- 
-     # uncomment lines below when you need
-     factory_type_information={
-         'allowed_content_types':allowed_content_types,
-         'allow_discussion': 0,
-         #'content_icon':'FillGapQuestion.gif',
-         'immediate_view':'base_view',
-         'global_allow':0,
-         'filter_content_types':1,
-         }
- 
-         
-     actions=  (
-         
- 
-           )
-         
-         
      def processResponse(self, REQUEST):
          ''' 
--- 76,81 ----
  
      #Methods
+     #manually created methods
  
      def processResponse(self, REQUEST):
          ''' 
***************
*** 118,121 ****
--- 107,128 ----
  
  
+ 
+     # uncomment lines below when you need
+     factory_type_information={
+         'allowed_content_types':allowed_content_types,
+         'allow_discussion': 0,
+         #'content_icon':'FillGapQuestion.gif',
+         'immediate_view':'base_view',
+         'global_allow':1,
+         'filter_content_types':1,
+         }
+ 
+         
+     actions=  (
+         
+ 
+           )
+         
+ 
  registerType(FillGapQuestion)
  # end of class FillGapQuestion

Index: TrueFalseQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/TrueFalseQuestion.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** TrueFalseQuestion.py	15 Dec 2004 15:55:16 -0000	1.16
--- TrueFalseQuestion.py	16 Dec 2004 13:28:20 -0000	1.17
***************
*** 1,7 ****
  # File: TrueFalseQuestion.py
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Wed Dec 15 14:24:36 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 1,12 ----
  # File: TrueFalseQuestion.py
+ """\
+ unknown
+ 
+ RCS-ID $Id$
+ """
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
***************
*** 71,74 ****
--- 76,81 ----
  
      #Methods
+     #manually created methods
+ 
      def processResponse(self, REQUEST):
          ''' 
***************
*** 98,102 ****
          score=self.getMaxScore() / possibleCorrect * correctCounter
          responseObj.setScore(score)
!     
  
  
--- 105,109 ----
          score=self.getMaxScore() / possibleCorrect * correctCounter
          responseObj.setScore(score)
! 
  
  
***************
*** 107,111 ****
          #'content_icon':'TrueFalseQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':0,
          'filter_content_types':1,
          }
--- 114,118 ----
          #'content_icon':'TrueFalseQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':1,
          'filter_content_types':1,
          }

Index: MathQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MathQuestion.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** MathQuestion.py	15 Dec 2004 15:55:16 -0000	1.16
--- MathQuestion.py	16 Dec 2004 13:28:20 -0000	1.17
***************
*** 1,7 ****
  # File: MathQuestion.py
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Wed Dec 15 14:24:36 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 1,12 ----
  # File: MathQuestion.py
+ """\
+ unknown
+ 
+ RCS-ID $Id$
+ """
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
***************
*** 71,74 ****
--- 76,81 ----
  
      #Methods
+     #manually created methods
+ 
      def processResponse(self, REQUEST):
          ''' 
***************
*** 97,101 ****
          responseObj.setResponseValues(kw)
          responseObj.setScore(score)
!         
  
  
--- 104,108 ----
          responseObj.setResponseValues(kw)
          responseObj.setScore(score)
! 
  
  
***************
*** 106,110 ****
          #'content_icon':'MathQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':0,
          'filter_content_types':1,
          }
--- 113,117 ----
          #'content_icon':'MathQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':1,
          'filter_content_types':1,
          }

Index: MatchingQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MatchingQuestion.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** MatchingQuestion.py	15 Dec 2004 15:55:16 -0000	1.16
--- MatchingQuestion.py	16 Dec 2004 13:28:20 -0000	1.17
***************
*** 1,7 ****
  # File: MatchingQuestion.py
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Wed Dec 15 14:24:36 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 1,12 ----
  # File: MatchingQuestion.py
+ """\
+ unknown
+ 
+ RCS-ID $Id$
+ """
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
***************
*** 71,74 ****
--- 76,81 ----
  
      #Methods
+     #manually created methods
+ 
      def processResponse(self, REQUEST):
          ''' 
***************
*** 100,103 ****
--- 107,111 ----
  
  
+ 
      # uncomment lines below when you need
      factory_type_information={
***************
*** 106,110 ****
          #'content_icon':'MatchingQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':0,
          'filter_content_types':1,
          }
--- 114,118 ----
          #'content_icon':'MatchingQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':1,
          'filter_content_types':1,
          }

Index: TextTaskQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/TextTaskQuestion.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** TextTaskQuestion.py	15 Dec 2004 15:55:16 -0000	1.16
--- TextTaskQuestion.py	16 Dec 2004 13:28:20 -0000	1.17
***************
*** 1,7 ****
  # File: TextTaskQuestion.py
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Wed Dec 15 14:24:36 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 1,12 ----
  # File: TextTaskQuestion.py
+ """\
+ unknown
+ 
+ RCS-ID $Id$
+ """
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
***************
*** 71,75 ****
  
      #Methods
!     
      def processResponse(self, REQUEST):
          ''' 
--- 76,81 ----
  
      #Methods
!     #manually created methods
! 
      def processResponse(self, REQUEST):
          ''' 
***************
*** 98,104 ****
          responseObj.setResponseValues(kw)
          responseObj.setScore(score)
!         
!         
!         
  
      # uncomment lines below when you need
--- 104,109 ----
          responseObj.setResponseValues(kw)
          responseObj.setScore(score)
! 
! 
  
      # uncomment lines below when you need
***************
*** 108,112 ****
          #'content_icon':'TextTaskQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':0,
          'filter_content_types':1,
          }
--- 113,117 ----
          #'content_icon':'TextTaskQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':1,
          'filter_content_types':1,
          }

Index: SingleChoiceQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/SingleChoiceQuestion.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** SingleChoiceQuestion.py	15 Dec 2004 15:55:16 -0000	1.16
--- SingleChoiceQuestion.py	16 Dec 2004 13:28:20 -0000	1.17
***************
*** 1,7 ****
  # File: SingleChoiceQuestion.py
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Wed Dec 15 14:24:36 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 1,12 ----
  # File: SingleChoiceQuestion.py
+ """\
+ unknown
+ 
+ RCS-ID $Id$
+ """
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
***************
*** 71,74 ****
--- 76,81 ----
  
      #Methods
+     #manually created methods
+ 
      def processResponse(self, REQUEST):
          ''' 
***************
*** 98,103 ****
          score=self.getMaxScore() / possibleCorrect * correctCounter
          responseObj.setScore(score)
!         
!         
  
      # uncomment lines below when you need
--- 105,110 ----
          score=self.getMaxScore() / possibleCorrect * correctCounter
          responseObj.setScore(score)
! 
! 
  
      # uncomment lines below when you need
***************
*** 107,111 ****
          #'content_icon':'SingleChoiceQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':0,
          'filter_content_types':1,
          }
--- 114,118 ----
          #'content_icon':'SingleChoiceQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':1,
          'filter_content_types':1,
          }

Index: MultipleChoiceQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MultipleChoiceQuestion.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** MultipleChoiceQuestion.py	15 Dec 2004 14:37:02 -0000	1.15
--- MultipleChoiceQuestion.py	16 Dec 2004 13:28:20 -0000	1.16
***************
*** 1,7 ****
  # File: MultipleChoiceQuestion.py
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Wed Dec 15 14:24:36 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 1,12 ----
  # File: MultipleChoiceQuestion.py
+ """\
+ get values from request and returns an evaluated response
+ 
+ RCS-ID $Id$
+ """
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
***************
*** 74,77 ****
--- 79,84 ----
  
      #Methods
+     #manually created methods
+ 
      def processResponse(self, REQUEST):
          ''' 
***************
*** 103,106 ****
--- 110,114 ----
  
  
+ 
      # uncomment lines below when you need
      factory_type_information={
***************
*** 109,113 ****
          #'content_icon':'MultipleChoiceQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':0,
          'filter_content_types':1,
          }
--- 117,121 ----
          #'content_icon':'MultipleChoiceQuestion.gif',
          'immediate_view':'base_view',
!         'global_allow':1,
          'filter_content_types':1,
          }

Index: BaseExamQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/BaseExamQuestion.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** BaseExamQuestion.py	16 Dec 2004 11:14:49 -0000	1.19
--- BaseExamQuestion.py	16 Dec 2004 13:28:20 -0000	1.20
***************
*** 1,7 ****
  # File: BaseExamQuestion.py
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Wed Dec 15 14:24:36 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
--- 1,12 ----
  # File: BaseExamQuestion.py
+ """\
+ unknown
+ 
+ RCS-ID $Id$
+ """
  # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
***************
*** 170,174 ****
          return self.archetype_name
  
!    
  
      # uncomment lines below when you need
--- 175,179 ----
          return self.archetype_name
  
! 
  
      # uncomment lines below when you need



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.