[Checkins] SVN: z3c.form/trunk/src/z3c/form/converter.txt Added
more hints
Roger Ineichen
roger at projekt01.ch
Mon Jun 11 18:32:38 EDT 2007
Log message for revision 76630:
Added more hints
Changed:
U z3c.form/trunk/src/z3c/form/converter.txt
-=-
Modified: z3c.form/trunk/src/z3c/form/converter.txt
===================================================================
--- z3c.form/trunk/src/z3c/form/converter.txt 2007-06-11 22:30:13 UTC (rev 76629)
+++ z3c.form/trunk/src/z3c/form/converter.txt 2007-06-11 22:32:38 UTC (rev 76630)
@@ -254,8 +254,9 @@
The IBytes field uses a file upload widget which uses a file upload data
converter. This requires that we test the IBytes converter for normal IWidget.
Note that IBytes always will get a FileUpload widget, if you need to use a
-text field for bytes, you have to register a custom widget using the
-widgetFactory attribute of the z3c.form.interfaces.IField.
+text input widget for bytes, you have to register a custom widget using the
+widgetFactory attribute of the z3c.form.interfaces.IField. e.g.
+``fields['foobar'].widgetFactory = TextWidget``
>>> bytes = zope.schema.Bytes()
More information about the Checkins
mailing list