z3c.form widget for adding multiple files
plone.formwidget.multifile is a z3c.form-widget which lets users upload multiple files, either at once, or in batches using repeated form submissions.
Using the widget is quiet easy:
>>> from plone.directives import form as directivesform >>> from plone.formwidget.multifile import MultiFileFieldWidget >>> from plone.namedfile.field import NamedFile >>> from zope import schema >>> from zope.interface import Interface >>> >>> class IMySchema(Interface): ... """My schema interface""" ... ... directivesform.widget(files=MultiFileFieldWidget) ... files = schema.List(title=u'Files', ... value_type=NamedFile())
Fix minor bugs on the new non-flash implementation. [rafaelbco]
Removed dependency on plone.app.drafts. [rafaelbco]
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for plone.formwidget.multifile-1.0a2.zip