EduploneTest/types EduploneTestingEnvironment.py,1.2,1.3
Nils Haagen <[email protected]>
| 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-serv29032/types
Modified Files:
EduploneTestingEnvironment.py
Log Message:
redirect to userResults after finishing the test
Index: EduploneTestingEnvironment.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneTestingEnvironment.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** EduploneTestingEnvironment.py 29 Sep 2004 11:25:04 -0000 1.2
--- EduploneTestingEnvironment.py 29 Sep 2004 15:49:13 -0000 1.3
***************
*** 235,239 ****
#if self.show_results.....
#return self.users[self.eduplone_userResults(getCurrentUser.getId())
! return self.users[self.getCurrentUser().getId()].eduplone_userResults()
return self.sequence_getNext(questionid)
--- 235,239 ----
#if self.show_results.....
#return self.users[self.eduplone_userResults(getCurrentUser.getId())
! return self.REQUEST.response.redirect(self.users[self.getCurrentUser().getId()].absolute_url() + '/eduplone_userResults')
return self.sequence_getNext(questionid)
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl