EduploneExam/userresponses SimpleResponse.py,1.5,1.6
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-serv29002/userresponses
Modified Files:
SimpleResponse.py
Log Message:
Index: SimpleResponse.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/userresponses/SimpleResponse.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** SimpleResponse.py 15 Dec 2004 11:22:38 -0000 1.5
--- SimpleResponse.py 15 Dec 2004 11:26:59 -0000 1.6
***************
*** 8,16 ****
# by FH-Aargau, Switzerland
#
! # Generated: Wed Dec 15 11:25:16 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: Wed Dec 15 12:26:17 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,)
***************
*** 63,67 ****
),
),
!
StringField('title',
accessor='''Title''',
--- 63,67 ----
),
),
!
StringField('title',
accessor='''Title''',
***************
*** 74,78 ****
),
),
!
FloatField('userScore',
widget=DecimalWidget(description='Enter a value for userScore.',
--- 74,78 ----
),
),
!
FloatField('userScore',
widget=DecimalWidget(description='Enter a value for userScore.',
***************
*** 83,87 ****
),
),
!
),
)
--- 83,87 ----
),
),
!
),
)
***************
*** 127,130 ****
--- 127,146 ----
+ def setContext(self,contextobject):
+ '''
+
+ '''
+
+ pass
+
+
+ def getContext(self):
+ '''
+
+ '''
+
+ pass
+
+
def setResponseValues(self, **kwargs):
'''
***************
*** 176,185 ****
}
!
actions= (
!
)
!
registerType(SimpleResponse)
--- 192,201 ----
}
!
actions= (
!
)
!
registerType(SimpleResponse)
***************
*** 188,189 ****
--- 204,207 ----
##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/