[Zope3-Users] Lists dont accept default values

Gary Poster gary at zope.com
Thu Feb 16 10:29:47 EST 2006


On Feb 16, 2006, at 3:55 AM, Frank Burkhardt wrote:

>
>>> I wrote a schema like this to have a list of objects on a content  
>>> object:
>>>
>>>  class IMyContent(Interface):
>>>     mynumbers=List(
>>>        title=_(u"Cool Numbers"),
>>>        required=True,
>>>        value_type=Int(
>>>        	title=_("integer")
>>>        )
>>>        default=[1,2,3,5,7]
>>>     )


FWIW, I just think it's a bug that this doesn't work.  Have you put  
it in the collector?

Gary


More information about the Zope3-users mailing list