Hi Martin, Thanks for clearing this up so quickly. Thanks also for your pointers to possible solutions, which i'll keep in mind.
Kees Martin Aspeli wrote: > Kees Hink wrote: >> Is there a way to set a limit on the allowed file size NamedBlobFile >> fields in >> dexterity content types? > > I'm sure there's a way, but you'll be the first to try it. :) > >> The list of field properties on >> http://plone.org/products/dexterity/documentation/manual/developer-manual/reference/fields >> >> doesn't list anything. >> >> I've also browsed through >> plone.formwidget.namedfile.widget.NamedFileWidget and >> z3c.form.browser.FileWidget, but found nothing there. >> >> Is this something that currently can't be done? > > I think you just want to register a validator on the field that checks > the length of the value. It may be interesting to try to bake this into > the field as a settable property (by implementing IMinMax). Patches > welcome. ;) > > Martin > _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
