Introduction
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.
Copyright
Copyright 2007 by Jarn AS Copyright 2007 Laurence Rowe
Zope Public Licence 2.1
Credits
- Widget originally developed for Reflecto
Jarn, Wichert Akkerman, Martijn Pieters
- Further enhancements
Changelog
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]
Metadata
Release files for collective.namedfile 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collective.namedfile-1.3.tar.gz | 8.2 kB | Without provenance | Details for collective.namedfile-1.3.tar.gz |
Release files / collective.namedfile-1.3.tar.gz
| Download URL | collective.namedfile-1.3.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d26fb2d12c52222988862cb8d146ed317b1e0eca41c204bc25f6bb8e4ee5112
|
|
BLAKE2b-256 checksum How to use checksums |
dd9d6edebd4549ee630482b0bc0a9516eccf787efca675c4a4619918640ea80b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for collective.namedfile 1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.