EduploneExam/answers BlindGapAnswer.py,1.3,1.4 BooleanAnswer.py,1.3,1.4 ChoiceGapAnswer.py,1.3,1.4 FreeTextAnswer.py,1.3,1.4 MatchingAnswer.py,1.3,1.4 MathAnswer.py,1.5,1.6 MultipleChoiceAnswer.py,1.3,1.4 SingleChoiceAnswer.py,1.3,1.4 TextTaskAnswer.py,1.3,1.4 TrueFalseAnswer.py,1.3,1.4 __init__.py,1.2,1.3

Jens Klein <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam/answers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16643/answers

Modified Files:
	BlindGapAnswer.py BooleanAnswer.py ChoiceGapAnswer.py 
	FreeTextAnswer.py MatchingAnswer.py MathAnswer.py 
	MultipleChoiceAnswer.py SingleChoiceAnswer.py 
	TextTaskAnswer.py TrueFalseAnswer.py __init__.py 
Log Message:
rebuild from model


Index: TrueFalseAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/TrueFalseAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TrueFalseAnswer.py	14 Dec 2004 14:34:16 -0000	1.3
--- TrueFalseAnswer.py	14 Dec 2004 14:49:17 -0000	1.4
***************
*** 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)
--- 5,13 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 15:46:24 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 24,28 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
--- 25,29 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
***************
*** 32,35 ****
--- 33,39 ----
  from BooleanAnswer import BooleanAnswer
  
+ # additional imports
+ from Products.EduploneExam.registry import registerAnswerType
+ 
  ##code-section module-header #fill in your manual code here
  ##/code-section module-header
***************
*** 42,49 ****
      allowed_content_types = [] + getattr(BooleanAnswer,'allowed_content_types',[])
  
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseSchema  + getattr(BooleanAnswer,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 46,55 ----
      allowed_content_types = [] + getattr(BooleanAnswer,'allowed_content_types',[])
  
+     __implements__ = getattr(BaseContent,'__implements__',()) + getattr(BooleanAnswer,'__implements__',())
+ 
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseSchema + getattr(BooleanAnswer,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',

Index: MultipleChoiceAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/MultipleChoiceAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** MultipleChoiceAnswer.py	14 Dec 2004 14:34:16 -0000	1.3
--- MultipleChoiceAnswer.py	14 Dec 2004 14:49:17 -0000	1.4
***************
*** 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)
--- 5,13 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 15:46:24 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 24,28 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
--- 25,29 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
***************
*** 32,35 ****
--- 33,39 ----
  from BooleanAnswer import BooleanAnswer
  
+ # additional imports
+ from Products.EduploneExam.registry import registerAnswerType
+ 
  ##code-section module-header #fill in your manual code here
  ##/code-section module-header
***************
*** 42,49 ****
      allowed_content_types = [] + getattr(BooleanAnswer,'allowed_content_types',[])
  
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseSchema  + getattr(BooleanAnswer,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 46,55 ----
      allowed_content_types = [] + getattr(BooleanAnswer,'allowed_content_types',[])
  
+     __implements__ = getattr(BaseContent,'__implements__',()) + getattr(BooleanAnswer,'__implements__',())
+ 
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseSchema + getattr(BooleanAnswer,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',

Index: FreeTextAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/FreeTextAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** FreeTextAnswer.py	14 Dec 2004 14:34:16 -0000	1.3
--- FreeTextAnswer.py	14 Dec 2004 14:49:17 -0000	1.4
***************
*** 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)
--- 5,13 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 15:46:24 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 24,28 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
--- 25,29 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
***************
*** 32,35 ****
--- 33,39 ----
  from Products.EduploneExam.interfaces.IExamAnswer import IExamAnswer
  
+ # additional imports
+ from Products.EduploneExam.registry import registerAnswerType
+ 
  ##code-section module-header #fill in your manual code here
  ##/code-section module-header
***************
*** 50,54 ****
      ##/code-section class-header
  
!     schema=BaseSchema  + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 54,58 ----
      ##/code-section class-header
  
!     schema=BaseSchema + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
***************
*** 95,99 ****
      #methods from Interface IExamAnswer
  
-     security.declareProtected('''''','processValue')
      def processValue(self):
          '''
--- 99,102 ----

Index: ChoiceGapAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/ChoiceGapAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ChoiceGapAnswer.py	14 Dec 2004 14:34:16 -0000	1.3
--- ChoiceGapAnswer.py	14 Dec 2004 14:49:17 -0000	1.4
***************
*** 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)
--- 5,13 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 15:46:24 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 24,28 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
--- 25,29 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
***************
*** 30,33 ****
--- 31,38 ----
  from Products.Archetypes.public import *
  
+ from Products.EduploneExam.interfaces.IExamAnswer import IExamAnswer
+ 
+ # additional imports
+ from Products.EduploneExam.registry import registerAnswerType
  
  ##code-section module-header #fill in your manual code here
***************
*** 41,48 ****
      allowed_content_types = [] 
  
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseSchema  + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 46,55 ----
      allowed_content_types = [] 
  
+     __implements__ = getattr(BaseContent,'__implements__',()) + (IExamAnswer,)
+ 
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseSchema + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
***************
*** 87,90 ****
--- 94,106 ----
  
      #Methods
+     #methods from Interface IExamAnswer
+ 
+     def processValue(self):
+         '''
+         
+         '''
+         
+         pass
+ 
  
  

Index: __init__.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/__init__.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** __init__.py	14 Dec 2004 14:34:16 -0000	1.2
--- __init__.py	14 Dec 2004 14:49:17 -0000	1.3
***************
*** 14,16 ****
  import MathAnswer
  import BlindGapAnswer
- import B
--- 14,15 ----

Index: MathAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/MathAnswer.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** MathAnswer.py	14 Dec 2004 14:40:40 -0000	1.5
--- MathAnswer.py	14 Dec 2004 14:49:17 -0000	1.6
***************
*** 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)
--- 5,13 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 15:46:24 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 24,28 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
--- 25,29 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
***************
*** 32,35 ****
--- 33,39 ----
  from Products.EduploneExam.interfaces.IExamAnswer import IExamAnswer
  
+ # additional imports
+ from Products.EduploneExam.registry import registerAnswerType
+ 
  ##code-section module-header #fill in your manual code here
  ##/code-section module-header
***************
*** 47,51 ****
      ##/code-section class-header
  
!     schema=BaseSchema  + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 51,55 ----
      ##/code-section class-header
  
!     schema=BaseSchema + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
***************
*** 92,101 ****
      #methods from Interface IExamAnswer
  
-     security.declareProtected('''''','processValue')
      def processValue(self, value=None):
          '''
          
          '''
!         range = [self.correct-self.tolerance:self.correct-self.tolerance]
          if value and float(value) and float(value) > range[0] and float(value) < range[1] :
              return True
--- 96,104 ----
      #methods from Interface IExamAnswer
  
      def processValue(self, value=None):
          '''
          
          '''
!         range = [self.correct-self.tolerance, self.correct-self.tolerance]
          if value and float(value) and float(value) > range[0] and float(value) < range[1] :
              return True

Index: TextTaskAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/TextTaskAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TextTaskAnswer.py	14 Dec 2004 14:34:16 -0000	1.3
--- TextTaskAnswer.py	14 Dec 2004 14:49:17 -0000	1.4
***************
*** 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)
--- 5,13 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 15:46:24 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 24,28 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
--- 25,29 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
***************
*** 32,35 ****
--- 33,39 ----
  from Products.EduploneExam.interfaces.IExamAnswer import IExamAnswer
  
+ # additional imports
+ from Products.EduploneExam.registry import registerAnswerType
+ 
  ##code-section module-header #fill in your manual code here
  ##/code-section module-header
***************
*** 47,51 ****
      ##/code-section class-header
  
!     schema=BaseSchema  + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 51,55 ----
      ##/code-section class-header
  
!     schema=BaseSchema + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
***************
*** 92,96 ****
      #methods from Interface IExamAnswer
  
-     security.declareProtected('''''','processValue')
      def processValue(self):
          '''
--- 96,99 ----

Index: MatchingAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/MatchingAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** MatchingAnswer.py	14 Dec 2004 14:34:16 -0000	1.3
--- MatchingAnswer.py	14 Dec 2004 14:49:17 -0000	1.4
***************
*** 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)
--- 5,13 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 15:46:24 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 24,28 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
--- 25,29 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
***************
*** 32,35 ****
--- 33,39 ----
  from Products.EduploneExam.interfaces.IExamAnswer import IExamAnswer
  
+ # additional imports
+ from Products.EduploneExam.registry import registerAnswerType
+ 
  ##code-section module-header #fill in your manual code here
  ##/code-section module-header
***************
*** 47,51 ****
      ##/code-section class-header
  
!     schema=BaseSchema  + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 51,55 ----
      ##/code-section class-header
  
!     schema=BaseSchema + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
***************
*** 102,106 ****
      #methods from Interface IExamAnswer
  
-     security.declareProtected('''''','processValue')
      def processValue(self):
          '''
--- 106,109 ----

Index: BooleanAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/BooleanAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** BooleanAnswer.py	14 Dec 2004 14:34:16 -0000	1.3
--- BooleanAnswer.py	14 Dec 2004 14:49:17 -0000	1.4
***************
*** 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)
--- 5,13 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 15:46:24 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 24,28 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
--- 25,29 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
***************
*** 32,35 ****
--- 33,39 ----
  from Products.EduploneExam.interfaces.IExamAnswer import IExamAnswer
  
+ # additional imports
+ from Products.EduploneExam.registry import registerAnswerType
+ 
  ##code-section module-header #fill in your manual code here
  from types import StringTypes
***************
*** 49,53 ****
      ##/code-section class-header
  
!     schema=BaseSchema  + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 53,57 ----
      ##/code-section class-header
  
!     schema=BaseSchema + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
***************
*** 104,108 ****
      #methods from Interface IExamAnswer
  
-     security.declareProtected('''''','processValue')
      def processValue(self, value=None):
          '''
--- 108,111 ----

Index: SingleChoiceAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/SingleChoiceAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SingleChoiceAnswer.py	14 Dec 2004 14:34:16 -0000	1.3
--- SingleChoiceAnswer.py	14 Dec 2004 14:49:17 -0000	1.4
***************
*** 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)
--- 5,13 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 15:46:24 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 24,28 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
--- 25,29 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
***************
*** 32,35 ****
--- 33,39 ----
  from BooleanAnswer import BooleanAnswer
  
+ # additional imports
+ from Products.EduploneExam.registry import registerAnswerType
+ 
  ##code-section module-header #fill in your manual code here
  ##/code-section module-header
***************
*** 45,52 ****
      allowed_content_types = [] + getattr(BooleanAnswer,'allowed_content_types',[])
  
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseSchema  + getattr(BooleanAnswer,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 49,58 ----
      allowed_content_types = [] + getattr(BooleanAnswer,'allowed_content_types',[])
  
+     __implements__ = getattr(BaseContent,'__implements__',()) + getattr(BooleanAnswer,'__implements__',())
+ 
      ##code-section class-header #fill in your manual code here
      ##/code-section class-header
  
!     schema=BaseSchema + getattr(BooleanAnswer,'schema',Schema(())) + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',

Index: BlindGapAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/BlindGapAnswer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** BlindGapAnswer.py	14 Dec 2004 14:34:16 -0000	1.3
--- BlindGapAnswer.py	14 Dec 2004 14:49:17 -0000	1.4
***************
*** 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)
--- 5,13 ----
  RCS-ID $Id$
  """
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
! # by FH-Aargau, Switzerland
  #
! # Generated: Tue Dec 14 15:46:24 2004
! # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
***************
*** 24,28 ****
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'unknown <unknown>'
  __docformat__ = 'plaintext'
  
--- 25,29 ----
  # Place, Suite 330, Boston, MA  02111-1307  USA
  #
! __author__  = 'Nils Haagen, Jens Klein <[email protected]>, <[email protected]>'
  __docformat__ = 'plaintext'
  
***************
*** 32,35 ****
--- 33,39 ----
  from Products.EduploneExam.interfaces.IExamAnswer import IExamAnswer
  
+ # additional imports
+ from Products.EduploneExam.registry import registerAnswerType
+ 
  ##code-section module-header #fill in your manual code here
  ##/code-section module-header
***************
*** 47,51 ****
      ##/code-section class-header
  
!     schema=BaseSchema  + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
--- 51,55 ----
      ##/code-section class-header
  
!     schema=BaseSchema + Schema((
          StringField('id',
              widget=StringWidget(description='Enter a value for id.',
***************
*** 92,96 ****
      #methods from Interface IExamAnswer
  
-     security.declareProtected('''''','processValue')
      def processValue(self, value=None):
          '''
--- 96,99 ----



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