[Zope-Checkins] CVS: Zope3/doc/zcml/namespaces.zope.org/event - subscribe.stx:1.1.2.2
Steve Alexander
steve@cat-box.net
Sun, 9 Jun 2002 16:07:10 -0400
Update of /cvs-repository/Zope3/doc/zcml/namespaces.zope.org/event
In directory cvs.zope.org:/tmp/cvs-serv2682/doc/zcml/namespaces.zope.org/event
Modified Files:
Tag: Zope-3x-branch
subscribe.stx
Log Message:
Made the event:subscribe directive use space-separated event_types.
Updated tests and docs.
=== Zope3/doc/zcml/namespaces.zope.org/event/subscribe.stx 1.1.2.1 => 1.1.2.2 ===
+see lib/python/Zope/Event/event-meta.zcml
+
+Attributes
+
+ * subscriber, dotted name that resolves to a component
+
+ * event_types, whitespace-separated list of interfaces
+
+ * filter, dotted name that resolves to a component
+
+ The event_types and filter attributes are optional. If the
+ filter attribute is omitted, it defaults to no filter.
+ If the event_types attribute is omitted, it defaults to
+ subscribe for all events.
+
+Notes
+
+ This directive should only be used to subscribe non-persistent
+ filesystem-level components to the non-persistent file-system
+ global event service.