Back to index

plone3  3.1.7
external_edit.py
Go to the documentation of this file.
00001 ## Script (Python) "external_edit"
00002 ##bind container=container
00003 ##bind context=context
00004 ##bind namespace=
00005 ##bind script=script
00006 ##bind subpath=traverse_subpath
00007 ##parameters=
00008 ##title=http://cmf.zope.org/Members/tseaver/20020723_external_editor_available
00009 
00010 from Products.PythonScripts.standard import url_quote
00011 return context.REQUEST['RESPONSE'].redirect(
00012     '%s/externalEdit_/%s' % (context.aq_parent.absolute_url(),
00013                              url_quote(context.getId())))