EduploneExam/questions BaseExamQuestion.py,1.2,1.3 FillGapQuestion.py,1.2,1.3 FreeTextQuestion.py,1.2,1.3 MatchingQuestion.py,1.2,1.3 MathQuestion.py,1.2,1.3 MultipleChoiceQuestion.py,1.2,1.3 SingleChoiceQuestion.py,1.2,1.3 TextTaskQuestion.py,1.2,1.3 TrueFalseQuestion.py,1.2,1.3

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-serv13095/questions

Modified Files:
	BaseExamQuestion.py FillGapQuestion.py FreeTextQuestion.py 
	MatchingQuestion.py MathQuestion.py MultipleChoiceQuestion.py 
	SingleChoiceQuestion.py TextTaskQuestion.py 
	TrueFalseQuestion.py 
Log Message:
new atribs for sme answers

Index: FreeTextQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/FreeTextQuestion.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** FreeTextQuestion.py	14 Dec 2004 13:09:59 -0000	1.2
--- FreeTextQuestion.py	14 Dec 2004 14:34:18 -0000	1.3
***************
*** 5,13 ****
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 14:00:03 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
--- 5,12 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by unknown
  #
! # Generated: Tue Dec 14 14:49:35 2004
! # Generator: ArchGenXML Version 1.2 devel 1 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 25,29 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
--- 24,28 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
***************
*** 43,52 ****
      allowed_content_types = ['FreeTextAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
-     __implements__ = getattr(BaseFolder,'__implements__',()) + getattr(BaseExamQuestion,'__implements__',())
- 
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 42,49 ----
      allowed_content_types = ['FreeTextAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema  + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
***************
*** 74,77 ****
--- 71,75 ----
      #Methods
  
+     security.declareProtected('''''','processResponse')
      def processResponse(self):
          '''

Index: FillGapQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/FillGapQuestion.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** FillGapQuestion.py	14 Dec 2004 13:09:59 -0000	1.2
--- FillGapQuestion.py	14 Dec 2004 14:34:18 -0000	1.3
***************
*** 5,13 ****
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 14:00:03 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
--- 5,12 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by unknown
  #
! # Generated: Tue Dec 14 14:49:35 2004
! # Generator: ArchGenXML Version 1.2 devel 1 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 25,29 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
--- 24,28 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
***************
*** 43,52 ****
      allowed_content_types = ['BlindGapAnswer', 'ChoiceGapAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
-     __implements__ = getattr(BaseFolder,'__implements__',()) + getattr(BaseExamQuestion,'__implements__',())
- 
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 42,49 ----
      allowed_content_types = ['BlindGapAnswer', 'ChoiceGapAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema  + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',

Index: TrueFalseQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/TrueFalseQuestion.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TrueFalseQuestion.py	14 Dec 2004 13:09:59 -0000	1.2
--- TrueFalseQuestion.py	14 Dec 2004 14:34:18 -0000	1.3
***************
*** 5,13 ****
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 14:00:03 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
--- 5,12 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by unknown
  #
! # Generated: Tue Dec 14 14:49:35 2004
! # Generator: ArchGenXML Version 1.2 devel 1 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 25,29 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
--- 24,28 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
***************
*** 43,52 ****
      allowed_content_types = ['TrueFalseAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
-     __implements__ = getattr(BaseFolder,'__implements__',()) + getattr(BaseExamQuestion,'__implements__',())
- 
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 42,49 ----
      allowed_content_types = ['TrueFalseAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema  + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',

Index: BaseExamQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/BaseExamQuestion.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** BaseExamQuestion.py	14 Dec 2004 13:09:59 -0000	1.2
--- BaseExamQuestion.py	14 Dec 2004 14:34:18 -0000	1.3
***************
*** 5,13 ****
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 14:00:03 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
--- 5,12 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by unknown
  #
! # Generated: Tue Dec 14 14:49:35 2004
! # Generator: ArchGenXML Version 1.2 devel 1 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 25,29 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
--- 24,28 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
***************
*** 49,53 ****
      ##/code-section class-header
  
!     schema=BaseSchema + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 48,52 ----
      ##/code-section class-header
  
!     schema=BaseSchema  + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
***************
*** 122,125 ****
--- 121,125 ----
      #methods from Interface IExamNotifier
  
+     security.declareProtected('''''','registerNotifierOnView')
      def registerNotifierOnView(self):
          '''
***************
*** 130,133 ****
--- 130,134 ----
  
  
+     security.declareProtected('''''','registerNotifierAfterProcess')
      def registerNotifierAfterProcess(self):
          '''
***************
*** 138,141 ****
--- 139,143 ----
  
  
+     security.declareProtected('''''','notifyOnView')
      def notifyOnView(self):
          '''
***************
*** 146,149 ****
--- 148,152 ----
  
  
+     security.declareProtected('''''','notifyAfterProcess')
      def notifyAfterProcess(self):
          '''
***************
*** 155,158 ****
--- 158,162 ----
      #methods from Interface IExamQuestion
  
+     security.declareProtected('''''','processResponse')
      def processResponse(self):
          '''

Index: MathQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MathQuestion.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MathQuestion.py	14 Dec 2004 13:09:59 -0000	1.2
--- MathQuestion.py	14 Dec 2004 14:34:18 -0000	1.3
***************
*** 5,13 ****
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 14:00:03 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
--- 5,12 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by unknown
  #
! # Generated: Tue Dec 14 14:49:35 2004
! # Generator: ArchGenXML Version 1.2 devel 1 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 25,29 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
--- 24,28 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
***************
*** 43,52 ****
      allowed_content_types = ['MathAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
-     __implements__ = getattr(BaseFolder,'__implements__',()) + getattr(BaseExamQuestion,'__implements__',())
- 
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 42,49 ----
      allowed_content_types = ['MathAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema  + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',

Index: MatchingQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MatchingQuestion.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MatchingQuestion.py	14 Dec 2004 13:09:59 -0000	1.2
--- MatchingQuestion.py	14 Dec 2004 14:34:18 -0000	1.3
***************
*** 5,13 ****
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 14:00:03 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
--- 5,12 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by unknown
  #
! # Generated: Tue Dec 14 14:49:35 2004
! # Generator: ArchGenXML Version 1.2 devel 1 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 25,29 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
--- 24,28 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
***************
*** 43,52 ****
      allowed_content_types = ['MatchingAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
-     __implements__ = getattr(BaseFolder,'__implements__',()) + getattr(BaseExamQuestion,'__implements__',())
- 
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 42,49 ----
      allowed_content_types = ['MatchingAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema  + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',

Index: TextTaskQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/TextTaskQuestion.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TextTaskQuestion.py	14 Dec 2004 13:09:59 -0000	1.2
--- TextTaskQuestion.py	14 Dec 2004 14:34:18 -0000	1.3
***************
*** 5,13 ****
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 14:00:03 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
--- 5,12 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by unknown
  #
! # Generated: Tue Dec 14 14:49:35 2004
! # Generator: ArchGenXML Version 1.2 devel 1 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 25,29 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
--- 24,28 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
***************
*** 43,52 ****
      allowed_content_types = ['TextTaskAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
-     __implements__ = getattr(BaseFolder,'__implements__',()) + getattr(BaseExamQuestion,'__implements__',())
- 
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 42,49 ----
      allowed_content_types = ['TextTaskAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema  + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',

Index: SingleChoiceQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/SingleChoiceQuestion.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SingleChoiceQuestion.py	14 Dec 2004 13:09:59 -0000	1.2
--- SingleChoiceQuestion.py	14 Dec 2004 14:34:18 -0000	1.3
***************
*** 5,13 ****
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 14:00:03 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
--- 5,12 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by unknown
  #
! # Generated: Tue Dec 14 14:49:35 2004
! # Generator: ArchGenXML Version 1.2 devel 1 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 25,29 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
--- 24,28 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
***************
*** 43,52 ****
      allowed_content_types = ['SingleChoiceAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
-     __implements__ = getattr(BaseFolder,'__implements__',()) + getattr(BaseExamQuestion,'__implements__',())
- 
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 42,49 ----
      allowed_content_types = ['SingleChoiceAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema  + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',

Index: MultipleChoiceQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MultipleChoiceQuestion.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MultipleChoiceQuestion.py	14 Dec 2004 13:09:59 -0000	1.2
--- MultipleChoiceQuestion.py	14 Dec 2004 14:34:18 -0000	1.3
***************
*** 5,13 ****
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 14:00:03 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
--- 5,12 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by unknown
  #
! # Generated: Tue Dec 14 14:49:35 2004
! # Generator: ArchGenXML Version 1.2 devel 1 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 25,29 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
--- 24,28 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
***************
*** 46,55 ****
      allowed_content_types = ['MultipleChoiceAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
-     __implements__ = getattr(BaseFolder,'__implements__',()) + getattr(BaseExamQuestion,'__implements__',())
- 
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 45,52 ----
      allowed_content_types = ['MultipleChoiceAnswer'] + getattr(BaseExamQuestion,'allowed_content_types',[])
  
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseFolderSchema  + getattr(BaseExamQuestion,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',



-------------------------------------------------------
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.