Skip to content

Commit

Permalink
more information on IDataExtractedEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Apr 3, 2014
1 parent 92c8349 commit ccbb0bb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/z3c/form/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,11 @@ class IAfterWidgetUpdateEvent(IWidgetEvent):
class IDataExtractedEvent(zope.interface.Interface):
"""Event sent after data and errors are extracted from widgets.
"""
data = zope.interface.Attribute("Extracted form data")
errors = zope.interface.Attribute("List of errors")
form = zope.interface.Attribute("Form instance")
data = zope.interface.Attribute(
"Extracted form data. Usally, the widgets extract fieldnames from the "
"request and return a dictionary of fieldnames and fieldvalues."
)
errors = zope.interface.Attribute(
"Tuple of errors providing IErrorViewSnippet."
)
form = zope.interface.Attribute("Form instance.")

0 comments on commit ccbb0bb

Please sign in to comment.