EduploneExam/skins/EduploneExam exam_fillgap_cleanup.cpy,NONE,1.1.2.1 exam_fillgap_edit.cpt.metadata,1.2,1.2.2.1

Nils Haagen <[email protected]> Wed, 26 Oct 2005 14:18:34 +0000
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam/skins/EduploneExam
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30070/skins/EduploneExam

Modified Files:
      Tag: exam-1_1
	exam_fillgap_edit.cpt.metadata 
Added Files:
      Tag: exam-1_1
	exam_fillgap_cleanup.cpy 
Log Message:
cleanup for fillgap's cancel-button

Index: exam_fillgap_edit.cpt.metadata
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/skins/EduploneExam/exam_fillgap_edit.cpt.metadata,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** exam_fillgap_edit.cpt.metadata	2 Apr 2005 23:04:29 -0000	1.2
--- exam_fillgap_edit.cpt.metadata	26 Oct 2005 14:18:32 -0000	1.2.2.1
***************
*** 3,4 ****
--- 3,5 ----
  [actions]
  action.success..submit = traverse_to:string:exam_fillgap_process
+ action.success..cancel = traverse_to:string:exam_fillgap_cleanup

--- NEW FILE: exam_fillgap_cleanup.cpy ---
## Controller Python Script "exam_fillgap_cleanup"
##title=Edit content
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=id=''

parent=context.aq_parent
parent.manage_delObjects([context.getId()])


# Return to fillgap task
context.REQUEST.RESPONSE.redirect("%s/folder_contents" % parent.absolute_url())



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information