EduploneExam/userresponses SimpleResponse.py,1.13,1.14

Nils Haagen <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam/userresponses
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29746/userresponses

Modified Files:
	SimpleResponse.py 
Log Message:
added truefalse and singlechoice

Index: SimpleResponse.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/userresponses/SimpleResponse.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** SimpleResponse.py	16 Dec 2004 11:01:22 -0000	1.13
--- SimpleResponse.py	16 Dec 2004 13:28:21 -0000	1.14
***************
*** 8,16 ****
  # by FH-Aargau, Switzerland
  #
! # Generated: Wed Dec 15 14:24:36 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
! #
  # This program is free software; you can redistribute it and/or modify it under
  # the terms of the GNU General Public License as published by the Free Software
--- 8,16 ----
  # by FH-Aargau, Switzerland
  #
! # Generated: Thu Dec 16 14:21:01 2004
  # Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
  #
  # GNU General Public Licence (GPL)
! # 
  # This program is free software; you can redistribute it and/or modify it under
  # the terms of the GNU General Public License as published by the Free Software
***************
*** 39,45 ****
  class SimpleResponse(BaseContent):
      security = ClassSecurityInfo()
!     portal_type = meta_type = 'SimpleResponse'
!     archetype_name = 'SimpleResponse'   #this name appears in the 'add' box
!     allowed_content_types = []
  
      __implements__ = getattr(BaseContent,'__implements__',()) + (IExamResponse,)
--- 39,45 ----
  class SimpleResponse(BaseContent):
      security = ClassSecurityInfo()
!     portal_type = meta_type = 'SimpleResponse' 
!     archetype_name = 'SimpleResponse'   #this name appears in the 'add' box 
!     allowed_content_types = [] 
  
      __implements__ = getattr(BaseContent,'__implements__',()) + (IExamResponse,)
***************
*** 66,70 ****
              ),
          ),
! 
          StringField('title',
              accessor='''Title''',
--- 66,70 ----
              ),
          ),
!         
          StringField('title',
              accessor='''Title''',
***************
*** 77,81 ****
              ),
          ),
! 
          FloatField('userScore',
              widget=DecimalWidget(description='Enter a value for userScore.',
--- 77,81 ----
              ),
          ),
!         
          FloatField('userScore',
              widget=DecimalWidget(description='Enter a value for userScore.',
***************
*** 86,90 ****
              ),
          ),
! 
      ),
      )
--- 86,90 ----
              ),
          ),
!         
      ),
      )
***************
*** 208,217 ****
          }
  
! 
      actions=  (
! 
  
            )
! 
  
  registerType(SimpleResponse)
--- 208,217 ----
          }
  
!         
      actions=  (
!         
  
            )
!         
  
  registerType(SimpleResponse)
***************
*** 220,221 ****
--- 220,223 ----
  ##code-section module-footer #fill in your manual code here
  ##/code-section module-footer
+ 
+ 



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