[Checkins] SVN: grok/trunk/src/grok/interfaces.py Update interfaces to reflect reality

Philipp von Weitershausen philikon at philikon.de
Thu Mar 15 14:18:29 EDT 2007


Log message for revision 73198:
  Update interfaces to reflect reality
  

Changed:
  U   grok/trunk/src/grok/interfaces.py

-=-
Modified: grok/trunk/src/grok/interfaces.py
===================================================================
--- grok/trunk/src/grok/interfaces.py	2007-03-15 18:10:57 UTC (rev 73197)
+++ grok/trunk/src/grok/interfaces.py	2007-03-15 18:18:29 UTC (rev 73198)
@@ -138,13 +138,11 @@
         """Declare that a function subscribes to an event or a
         combination of objects and events."""
 
-    def action():
-        """XXX see zope.formlib.form.action"""
+    def action(label, **options):
+        """Decorator that defines an action factory based on a form
+        method. The method receives the form data as keyword
+        parameters."""
 
-    traverse = interface.Attribute("Specify a method to be used for "
-                                   "traversing URL paths.")
-
-
 class IGrokEvents(interface.Interface):
 
     IObjectCreatedEvent = interface.Attribute("")



More information about the Checkins mailing list