[Checkins] SVN: z3c.form/trunk/src/z3c/form/form.txt More editing.
Martijn Faassen
faassen at infrae.com
Sun Sep 23 13:19:37 EDT 2007
Log message for revision 79860:
More editing.
Changed:
U z3c.form/trunk/src/z3c/form/form.txt
-=-
Modified: z3c.form/trunk/src/z3c/form/form.txt
===================================================================
--- z3c.form/trunk/src/z3c/form/form.txt 2007-09-23 17:17:15 UTC (rev 79859)
+++ z3c.form/trunk/src/z3c/form/form.txt 2007-09-23 17:19:36 UTC (rev 79860)
@@ -528,12 +528,12 @@
>>> print addForm.widgets['age'].error.render()
<div class="error">The value cannot be a negative number.</div>
-Note: The ``adapts()`` call might look very strange initially. However, an
-error view snippet is an adapter that requires 6 input objects -- error,
-request, widget, field, form, content. By specifying only the error, we tell
-the system that we do not care about the other discriminators, which then can
-be anything. I could also have used ``zope.interface.Interface`` instead,
-which would be equivalent.
+Note: The ``adapts()`` declaration might look strange. An error view
+snippet is actually a multiadapter that adapts a combination of 6
+objects -- error, request, widget, field, form, content. By specifying
+only the error, we tell the system that we do not care about the other
+discriminators, which then can be anything. We could also have used
+``zope.interface.Interface`` instead, which would be equivalent.
Additional Form Attributes and API
More information about the Checkins
mailing list