[Zope3-Users] Re: Default value for an interface attribute

Maciej Wisniowski maciej.wisniowski at coig.katowice.pl
Thu Mar 1 10:54:24 EST 2007


> How about checking whether the value of 'default' is a
> callable and if so call it to obtain the default value.
Yup... but evaluation of this is done internally by Zope schema
package in Field class I think. Seems for me that there is no way
to define 'default' as callable.

-- 
Maciej Wisniowski


More information about the Zope3-users mailing list