EduploneExam/questions BaseExamQuestion.py,1.30.2.1,1.30.2.2 FillGapQuestion.py,1.28.2.1,1.28.2.2 FreeTextQuestion.py,1.26.2.1,1.26.2.2 MatchingQuestion.py,1.26.2.1,1.26.2.2 MathQuestion.py,1.25.2.1,1.25.2.2 MultipleChoiceQuestion.py,1.26.2.1,1.26.2.2 SingleChoiceQuestion.py,1.26.2.1,1.26.2.2 TextTaskQuestion.py,1.25.2.1,1.25.2.2 TrueFalseQuestion.py,1.26.2.1,1.26.2.2
Nils Haagen <[email protected]> Mon, 03 Oct 2005 15:34:20 +0000
| 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-serv30472/questions
Modified Files:
Tag: exam-1_1
BaseExamQuestion.py FillGapQuestion.py FreeTextQuestion.py
MatchingQuestion.py MathQuestion.py MultipleChoiceQuestion.py
SingleChoiceQuestion.py TextTaskQuestion.py
TrueFalseQuestion.py
Log Message:
supports attribute-storage on examfolder
Index: FreeTextQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/FreeTextQuestion.py,v
retrieving revision 1.26.2.1
retrieving revision 1.26.2.2
diff -C2 -d -r1.26.2.1 -r1.26.2.2
*** FreeTextQuestion.py 2 Oct 2005 21:21:12 -0000 1.26.2.1
--- FreeTextQuestion.py 3 Oct 2005 15:34:17 -0000 1.26.2.2
***************
*** 128,131 ****
--- 128,135 ----
responseObj.setScore(score)
+ examFolder=self.aq_parent
+ if examFolder.getParam_storageMethod()=='eXamFolder':
+ examFolder.storeResponseAttr(self.UID(), responseObj)
+
Index: FillGapQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/FillGapQuestion.py,v
retrieving revision 1.28.2.1
retrieving revision 1.28.2.2
diff -C2 -d -r1.28.2.1 -r1.28.2.2
*** FillGapQuestion.py 2 Oct 2005 21:21:12 -0000 1.28.2.1
--- FillGapQuestion.py 3 Oct 2005 15:34:17 -0000 1.28.2.2
***************
*** 143,146 ****
--- 143,150 ----
responseObj.setScore(score)
+ examFolder=self.aq_parent
+ if examFolder.getParam_storageMethod()=='eXamFolder':
+ examFolder.storeResponseAttr(self.UID(), responseObj)
+
def getGapPosition(self, gapId):
Index: TrueFalseQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/TrueFalseQuestion.py,v
retrieving revision 1.26.2.1
retrieving revision 1.26.2.2
diff -C2 -d -r1.26.2.1 -r1.26.2.2
*** TrueFalseQuestion.py 2 Oct 2005 21:21:12 -0000 1.26.2.1
--- TrueFalseQuestion.py 3 Oct 2005 15:34:17 -0000 1.26.2.2
***************
*** 117,120 ****
--- 117,123 ----
responseObj.setScore(score)
+ examFolder=self.aq_parent
+ if examFolder.getParam_storageMethod()=='eXamFolder':
+ examFolder.storeResponseAttr(self.UID(), responseObj)
Index: TextTaskQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/TextTaskQuestion.py,v
retrieving revision 1.25.2.1
retrieving revision 1.25.2.2
diff -C2 -d -r1.25.2.1 -r1.25.2.2
*** TextTaskQuestion.py 2 Oct 2005 21:21:12 -0000 1.25.2.1
--- TextTaskQuestion.py 3 Oct 2005 15:34:17 -0000 1.25.2.2
***************
*** 107,110 ****
--- 107,114 ----
responseObj.setResponseValues(**kw)
responseObj.setScore(score)
+
+ examFolder=self.aq_parent
+ if examFolder.getParam_storageMethod()=='eXamFolder':
+ examFolder.storeResponseAttr(self.UID(), responseObj)
Index: MultipleChoiceQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MultipleChoiceQuestion.py,v
retrieving revision 1.26.2.1
retrieving revision 1.26.2.2
diff -C2 -d -r1.26.2.1 -r1.26.2.2
*** MultipleChoiceQuestion.py 2 Oct 2005 21:21:12 -0000 1.26.2.1
--- MultipleChoiceQuestion.py 3 Oct 2005 15:34:17 -0000 1.26.2.2
***************
*** 120,123 ****
--- 120,127 ----
responseObj.setScore(score)
+ examFolder=self.aq_parent
+ if examFolder.getParam_storageMethod()=='eXamFolder':
+ examFolder.storeResponseAttr(self.UID(), responseObj)
+
Index: MathQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MathQuestion.py,v
retrieving revision 1.25.2.1
retrieving revision 1.25.2.2
diff -C2 -d -r1.25.2.1 -r1.25.2.2
*** MathQuestion.py 2 Oct 2005 21:21:12 -0000 1.25.2.1
--- MathQuestion.py 3 Oct 2005 15:34:17 -0000 1.25.2.2
***************
*** 110,113 ****
--- 110,117 ----
responseObj.setScore(score)
+ examFolder=self.aq_parent
+ if examFolder.getParam_storageMethod()=='eXamFolder':
+ examFolder.storeResponseAttr(self.UID(), responseObj)
+
Index: MatchingQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MatchingQuestion.py,v
retrieving revision 1.26.2.1
retrieving revision 1.26.2.2
diff -C2 -d -r1.26.2.1 -r1.26.2.2
*** MatchingQuestion.py 2 Oct 2005 21:21:12 -0000 1.26.2.1
--- MatchingQuestion.py 3 Oct 2005 15:34:17 -0000 1.26.2.2
***************
*** 133,136 ****
--- 133,139 ----
responseObj.setScore(score)
+ examFolder=self.aq_parent
+ if examFolder.getParam_storageMethod()=='eXamFolder':
+ examFolder.storeResponseAttr(self.UID(), responseObj)
Index: SingleChoiceQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/SingleChoiceQuestion.py,v
retrieving revision 1.26.2.1
retrieving revision 1.26.2.2
diff -C2 -d -r1.26.2.1 -r1.26.2.2
*** SingleChoiceQuestion.py 2 Oct 2005 21:21:12 -0000 1.26.2.1
--- SingleChoiceQuestion.py 3 Oct 2005 15:34:17 -0000 1.26.2.2
***************
*** 117,120 ****
--- 117,124 ----
responseObj.setScore(score)
+ examFolder=self.aq_parent
+ if examFolder.getParam_storageMethod()=='eXamFolder':
+ examFolder.storeResponseAttr(self.UID(), responseObj)
+
Index: BaseExamQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/BaseExamQuestion.py,v
retrieving revision 1.30.2.1
retrieving revision 1.30.2.2
diff -C2 -d -r1.30.2.1 -r1.30.2.2
*** BaseExamQuestion.py 2 Oct 2005 21:21:12 -0000 1.30.2.1
--- BaseExamQuestion.py 3 Oct 2005 15:34:17 -0000 1.30.2.2
***************
*** 86,89 ****
--- 86,90 ----
storage=AttributeStorage()
),
+
),
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl