Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Event for journal entries

src/f/t/ftw.notification.base-1.2.4/ftw/notification/base/events/handlers.py   ftw.notification.base(Download)
from DateTime import DateTime
from ftw.notification.base import notification_base_factory as _
from ftw.notification.base.events.events import NotificationEvent
from ftw.notification.base.interfaces import INotifier
from Products.CMFCore.utils import getToolByName
            '<').replace('>', '>')
        comment = safe_unicode(comment)
        notify(NotificationEvent(object_, comment))
        object_.REQUEST.RESPONSE.redirect(
            object_.absolute_url() + (use_view_action and '/view' or ''))