Roger Ineichen wrote:

> I think everything should be there for a simple file upload.
> The z3c.form doesn't have enhanced upload features.
> One way to implement an object replacement whould be to
> ad an addditional field (bool) in the object schema
> and depneding on that input replace the file in the
> EditForm.applyChanges method.
> If this replace-me field is a part of the archetype file,
> then a new widget whould be the right thing.
> btw, the default z3c.form widget returns the bytes data
> as widget value in applyChanges based on the converters
> convertion. Probably an archtype file widget should return
> an archetype? But this depends on the type of schema field
> which is used.

I'm not actually using Archetypes, I just want something with equivalent 

At the end of the day, I want to store a blob and be able to download it 


Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See

Zope3-users mailing list

Reply via email to