EduploneExam/questions BaseExamQuestion.py,1.30.2.9,1.30.2.10 TrueFalseQuestion.py,1.26.2.6,1.26.2.7
Nils Haagen <[email protected]> Fri, 03 Mar 2006 23:19:17 +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-serv7214/questions
Modified Files:
Tag: exam-1_1
BaseExamQuestion.py TrueFalseQuestion.py
Log Message:
question_BaseView
Index: TrueFalseQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/TrueFalseQuestion.py,v
retrieving revision 1.26.2.6
retrieving revision 1.26.2.7
diff -C2 -d -r1.26.2.6 -r1.26.2.7
*** TrueFalseQuestion.py 8 Jan 2006 14:01:22 -0000 1.26.2.6
--- TrueFalseQuestion.py 3 Mar 2006 23:19:14 -0000 1.26.2.7
***************
*** 75,80 ****
allow_discussion = 0
content_icon = 'ExamQuestion.gif'
! immediate_view = 'base_view'
! default_view = 'base_view'
suppl_views = ()
typeDescription = "TrueFalseQuestion"
--- 75,80 ----
allow_discussion = 0
content_icon = 'ExamQuestion.gif'
! immediate_view = 'question_view'
! default_view = 'question_view'
suppl_views = ()
typeDescription = "TrueFalseQuestion"
***************
*** 84,87 ****
--- 84,88 ----
##code-section class-header #fill in your manual code here
+
##/code-section class-header
Index: BaseExamQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/BaseExamQuestion.py,v
retrieving revision 1.30.2.9
retrieving revision 1.30.2.10
diff -C2 -d -r1.30.2.9 -r1.30.2.10
*** BaseExamQuestion.py 27 Feb 2006 21:57:38 -0000 1.30.2.9
--- BaseExamQuestion.py 3 Mar 2006 23:19:14 -0000 1.30.2.10
***************
*** 113,116 ****
--- 113,128 ----
##code-section class-header #fill in your manual code here
+ initial_view='question_view'
+ default_view='question_view'
+
+ actions = (
+ {'action': "string:$object_url/exam_questionBaseview",
+ 'category': "object",
+ 'id': 'view',
+ 'name': 'question_view',
+ 'permissions': ("View",),
+ 'condition' : 'python:1'
+ },
+ )
##/code-section class-header
***************
*** 194,198 ****
return None
!
# end of class BaseExamQuestion
--- 206,211 ----
return None
!
!
# end of class BaseExamQuestion
-------------------------------------------------------
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