[Zope3-Users] Automatic schema field sanitation?

2008-12-02 Thread Dennis Noordsij
Hi, I would like to define a custom type inheriting from zope.schema.TextLine, which in addition to having a built-in constraint method also sanitizes the input. For example suppose you need to store codes of the kind: 3 letters, space, 3 numbers. The constraint uses a regexp, and this works

Re: [Zope3-Users] Automatic schema field sanitation?

2008-12-02 Thread Dennis Noordsij
Christian Klinger schreef: Hi Dennis, i think you can try to add a new Field and a corresponding Widget for your needs. I think this could be a good starting poing. http://wiki.zope.org/zope3/fieldsandwidgets.html If you have further questions - please ask. Hi Christian, Thanks

Re: [Zope3-Users] ForbiddenAttribute error

2007-07-06 Thread Dennis Noordsij
HA! I spoke too soon. Your permissions are OK, zope.View has the right permissions. Sorry about that. Check the permissions on entries in your feed, that's where the backtrace points to. D ___ Zope3-users mailing list Zope3-users@zope.org