> > Using name FieldStorageUploadConverter hopefully make it > > forward-compatible with the fix. > > One nice thing we can safely do is providing this validator by default > with every FileField, like we are doing with our SelectionField that is > trying to guess the right validator, other field where we can provide a > good default?
I was thinking about it myself. Haven't added because widget can't tell whether this field is required or not and thus cannot init validator properly (I refer to not_empty param). May be we should add a 'required' parameter to widget/formfield so that a reasonable validator can be set? Good/bogus idea? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk -~----------~----~----~----~------~----~------~--~---
