## Script (Python) "raise_objection" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title= ## # $Id:defer_admission.py 486 2006-09-06 10:09:39Z joachim $ """ raise an objection and print Info. """ import DateTime current = DateTime.DateTime() request = context.REQUEST wf = context.portal_workflow mtool = context.portal_membership member = mtool.getAuthenticatedMember() roles = member.getRoles() info = context.getStudentInfo() info['app_doc'].edit(mapping={'objection_date':current,}) wf.doActionFor(info['student'],'raise_objection') return context.objection_raised_form(info=info)