Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

File field and widget with enhancements for zope3.

Project description


A correctly working File widget and field for zope.

The standard FileWidget returns a string instead of an IFile instance, which means it will always fail schema validation in formlib.

In addition this widget will also extract the filename and Content-Type from the request.


Widget originally developed for Reflecto
Jarn, Wichert Akkerman, Martijn Pieters
Further enhancements
Laurence Rowe, Jens Klein


Version 1.3

  • Fix FileViewDispatcher (the inline images on forms) to work with forms that rely on adapters [ldr]

Version 1.2

  • Don’t pretend we have a file if we don’t actually have one (e.g. this is an add form and validation failed) [optilude]
  • Fix IE bug - IE prepends the full local path to the filename [optilude]

Version 1.1

  • Add an image widget and field. [mj]

Version 1.0

  • Extract file and widget from reflecto [ldr]
  • Enhance input widget to have same functionality as Archetypes file widget. Create display widget and view on IPageForm to expose file downloads from forms. [ldr]

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for collective.namedfile, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size collective.namedfile-1.3.tar.gz (8.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page