EduploneTest/types EduploneTestingEnvironment.py,1.29,1.30

Nils Haagen <[email protected]> Mon, 10 Jan 2005 15:41:27 +0000
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneTest/types
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14184/types

Modified Files:
	EduploneTestingEnvironment.py 
Log Message:
changed schemata; description is richWidget, now

Index: EduploneTestingEnvironment.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneTestingEnvironment.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** EduploneTestingEnvironment.py	7 Jan 2005 12:46:58 -0000	1.29
--- EduploneTestingEnvironment.py	10 Jan 2005 15:41:25 -0000	1.30
***************
*** 71,80 ****
          required=1,
          searchable = 1,
!         widget=TextAreaWidget(label = u"Description",
                                label_msgid='label_test_description',
                                description = u"Exam description",
                                description_msgid='help_test_description',
                                i18n_domain='eduplone'),
!         schemata='Text'
      ),
      
--- 71,91 ----
          required=1,
          searchable = 1,
!         widget=RichWidget(label = u"Description",
                                label_msgid='label_test_description',
                                description = u"Exam description",
                                description_msgid='help_test_description',
                                i18n_domain='eduplone'),
!         #schemata='Text'
!     ),
! 
!     BooleanField(
!         'showresults',
!         default = 0,
!         widget = BooleanWidget(label = u"Show the result",
!                                label_msgid='label_show_results',
!                                description = u"Final result visible to the user",
!                                description_msgid='help_show_results',
!                                i18n_domain='eduplone'),
!        schemata='Feedback'
      ),
      
***************
*** 88,92 ****
                                description_msgid='help_test_feedback_text',
                                i18n_domain='eduplone'),
!         schemata='Text'
      ),
      
--- 99,103 ----
                                description_msgid='help_test_feedback_text',
                                i18n_domain='eduplone'),
!         schemata='Feedback'
      ),
      
***************
*** 133,146 ****
         schemata='Settings'
      ),
!     BooleanField(
!         'showresults',
!         default = 0,
!         widget = BooleanWidget(label = u"Show the result",
!                                label_msgid='label_show_results',
!                                description = u"Final result visible to the user",
!                                description_msgid='help_show_results',
!                                i18n_domain='eduplone'),
!        schemata='Settings'
!     ),
  
      DateTimeField(
--- 144,148 ----
         schemata='Settings'
      ),
! 
  
      DateTimeField(
***************
*** 458,461 ****
--- 460,465 ----
              del REQUEST.form['qId']
              if user in self['users'].objectIds():  # diese abfrage ueber vorhandene Funktionen loesen! ist die berhaupt noetig?
+                 print 'ÄÄÄÄÄÄÄÄÄÄÄÄÄ'
+                 print REQUEST
                  self.users[user]._saveQuestionAnswers(user, questionid, REQUEST.form)
  



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt