## Script (Python) "topicmap_base_locator_clear
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=REQUEST, RESPONSE
##title=Target method that sets the topicmap's base locator
##
context.setBaseLocator(None)
RESPONSE.redirect("%s/%s?portal_status_message=Cleared."%
                              ( context.absolute_url()
                              , context.getTypeInfo().getActionById('ztmedit')
                              )
                 )
return
