(self, REQUEST=None, RESPONSE=None)
subscribe to the global Timer Service
subscribe to the global Timer Service
subscribe to the global Timer Service
def subscribe(self, REQUEST=None, RESPONSE=None):
        """ subscribe to the global Timer Service """
        service = getTimerService(self)
        url = '%s/manageLoadBalancing?manage_tabs_message=' %self.absolute_url()
        if not service:
            LOG('ActivityTool', INFO, 'TimerService not available')
            url += urllib.quote('TimerService not available')
        else:
            service.subscribe(self)
            url += urllib.quote("Subscribed to Timer Service")
        if RESPONSE is not None:
            RESPONSE.redirect(url)
def subscribe ( self , REQUEST = None , RESPONSE = None ) : service = getTimerService ( self ) url = '%s/manageLoadBalancing?manage_tabs_message=' % self . absolute_url ( ) if not service : LOG ( 'ActivityTool' , INFO , 'TimerService not available' ) url += urllib . quote ( 'TimerService not available' ) else : service . subscribe ( self ) url += urllib . quote ( "Subscribed to Timer Service" ) if RESPONSE is not None : RESPONSE . redirect ( url )