[Zope] PythonScript translation

Chris Withers chrisw@nipltd.com
Sun, 11 Mar 2001 23:06:00 +0000


REQUEST = context.REQUEST
RESPONSE = REQUEST.RESPONSE
schoolmenu = SchoolMenuClass.createInObjectManager(REQUEST['id'], REQUEST)
schoolmenu.propertysheets.Basic.manage_editProperties(REQUEST)
schoolmenu.reindex_object()

if REQUEST.has_key(DestinationURL):
    return RESPONSE.redirect(DestinationURL+'/manage_workspace')
return RESPONSE.redirect(URL2+'/manage_workspace')

good luck :-)

Chris

PS: I made assumptions about what DestinationURL is and where it comes from,
sorry if they're wrong...