EduploneExam/answers FreeTextAnswer.py,1.15,1.16
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-serv26932/answers
Modified Files:
FreeTextAnswer.py
Log Message:
started process response tests.
Index: FreeTextAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/FreeTextAnswer.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** FreeTextAnswer.py 15 Dec 2004 13:56:02 -0000 1.15
--- FreeTextAnswer.py 15 Dec 2004 16:07:52 -0000 1.16
***************
*** 12,16 ****
#
# 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
--- 12,16 ----
#
# 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
***************
*** 45,51 ****
'''
security = ClassSecurityInfo()
! portal_type = meta_type = 'FreeTextAnswer'
! archetype_name = 'FreeTextAnswer' #this name appears in the 'add' box
! allowed_content_types = []
__implements__ = getattr(BaseContent,'__implements__',()) + (IExamAnswer,)
--- 45,51 ----
'''
security = ClassSecurityInfo()
! portal_type = meta_type = 'FreeTextAnswer'
! archetype_name = 'FreeTextAnswer' #this name appears in the 'add' box
! allowed_content_types = []
__implements__ = getattr(BaseContent,'__implements__',()) + (IExamAnswer,)
***************
*** 63,67 ****
),
),
!
StringField('title',
accessor='''Title''',
--- 63,67 ----
),
),
!
StringField('title',
accessor='''Title''',
***************
*** 74,78 ****
),
),
!
LinesField('correct',
widget=LinesWidget(description='Enter a value for correct.',
--- 74,78 ----
),
),
!
LinesField('correct',
widget=LinesWidget(description='Enter a value for correct.',
***************
*** 83,87 ****
),
),
!
TextField('exemplar',
widget=TextAreaWidget(description='Enter a value for exemplar.',
--- 83,87 ----
),
),
!
TextField('exemplar',
widget=TextAreaWidget(description='Enter a value for exemplar.',
***************
*** 92,96 ****
),
),
!
),
)
--- 92,96 ----
),
),
!
),
)
***************
*** 101,107 ****
def processValue(self):
'''
!
'''
!
pass
--- 101,107 ----
def processValue(self):
'''
!
'''
!
pass
***************
*** 118,127 ****
}
!
actions= (
!
)
!
registerType(FreeTextAnswer)
--- 118,127 ----
}
!
actions= (
!
)
!
registerType(FreeTextAnswer)
***************
*** 131,134 ****
registerAnswerType(FreeTextAnswer)
##/code-section module-footer
-
-
--- 131,132 ----
-------------------------------------------------------
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/