EduploneExam ExamFolder.py,1.33.2.16,1.33.2.17 version.txt,1.24.2.15,1.24.2.16

"Fabian K." <[email protected]> Sat, 04 Mar 2006 17:41:04 +0000
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25541

Modified Files:
      Tag: exam-1_1
	ExamFolder.py version.txt 
Log Message:
Added exam_folder_contents view, build 68.

Index: version.txt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/version.txt,v
retrieving revision 1.24.2.15
retrieving revision 1.24.2.16
diff -C2 -d -r1.24.2.15 -r1.24.2.16
*** version.txt	27 Feb 2006 21:57:37 -0000	1.24.2.15
--- version.txt	4 Mar 2006 17:41:02 -0000	1.24.2.16
***************
*** 1 ****
! 1.2 build 66
--- 1 ----
! 1.2 build 68

Index: ExamFolder.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/ExamFolder.py,v
retrieving revision 1.33.2.16
retrieving revision 1.33.2.17
diff -C2 -d -r1.33.2.16 -r1.33.2.17
*** ExamFolder.py	3 Mar 2006 23:19:13 -0000	1.33.2.16
--- ExamFolder.py	4 Mar 2006 17:41:02 -0000	1.33.2.17
***************
*** 71,74 ****
--- 71,84 ----
      ),
  
+     BooleanField('param_randomizeAnswers',
+         default="True",
+         widget=BooleanWidget(
+             label='Param_randomizeanswers',
+             label_msgid='EduploneExam_label_param_randomizeAnswers',
+             description_msgid='EduploneExam_help_param_randomizeAnswers',
+             i18n_domain='EduploneExam',
+         )
+     ),
+ 
      StringField('param_FinalPage',
          default="exam_finished",
***************
*** 95,109 ****
      ),
  
-     BooleanField('param_randomizeAnswers',
-         default="True",
-         widget=BooleanWidget(
-             label='Param_randomizeanswers',
-             label_msgid='EduploneExam_label_param_randomizeAnswers',
-             description_msgid='EduploneExam_help_param_randomizeAnswers',
-             i18n_domain='EduploneExam',
-         ),
-         schemata="settings"
-     ),
- 
  ),
  )
--- 105,108 ----
***************
*** 286,298 ****
      #manually created methods
  
-     def getMaxScore(self):
-         """ returns maximum possible score """
-         maxScore=0
-         for q in self.objectValues():
-             maxScore += q.getMaxScore()
-             
-         return maxScore
-     
- 
      security.declareProtected('VIEW_RESULTS', 'getAllResults')
      def getAllResults(self):
--- 285,288 ----
***************
*** 413,416 ****
--- 403,415 ----
          
  
+     def getMaxScore(self):
+         """ returns maximum possible score """
+         maxScore=0
+         for q in self.objectValues():
+             maxScore += q.getMaxScore()
+             
+         return maxScore
+     
+ 
  
  registerType(ExamFolder,PROJECTNAME)



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642