[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/utility.py
Cosmetic fixes.
Gintautas Miliauskas
cvs-admin at zope.org
Fri Jun 18 10:11:40 EDT 2004
Log message for revision 25904:
Cosmetic fixes.
-=-
Modified: Zope3/trunk/src/zope/app/form/utility.py
===================================================================
--- Zope3/trunk/src/zope/app/form/utility.py 2004-06-18 14:05:21 UTC (rev 25903)
+++ Zope3/trunk/src/zope/app/form/utility.py 2004-06-18 14:08:30 UTC (rev 25904)
@@ -117,25 +117,25 @@
def setUpWidgets(view, schema, viewType, prefix=None, ignoreStickyValues=False,
initial={}, names=None, context=None):
"""Sets up widgets for the fields defined by a schema.
-
+
view is the view that will be configured with widgets.
-
+
schema is an interface containing the fields that widgets will be
created for.
-
- prefix is a string that is appended to the widget names in the generated
+
+ prefix is a string that is prepended to the widget names in the generated
HTML. This can be used to differentiate widgets for different schemas.
-
+
ignoreStickyValues is a flag that, when True, will cause widget sticky
values to be replaced with the context field value or a value specified
in initial.
-
+
initial is a mapping of field names to initial values.
-
+
names is an optional iterable that provides an ordered list of field
names to use. If names is None, the list of fields will be defined by
the schema.
-
+
context provides an alternative context for acquisition.
"""
for (name, field) in _fieldlist(names, schema):
More information about the Zope3-Checkins
mailing list