Re: [Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Sean Upton
On Fri, Jun 6, 2008 at 7:26 PM, Fred Drake <[EMAIL PROTECTED]> wrote: > On Fri, Jun 6, 2008 at 8:08 PM, Sean Upton <[EMAIL PROTECTED]> wrote: >> mechanism or implementation details underneath, so I think I'll >> continue to use custom field types marked with an IRelationshipField >> interface, and

Re: [Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Fred Drake
On Fri, Jun 6, 2008 at 8:08 PM, Sean Upton <[EMAIL PROTECTED]> wrote: > mechanism or implementation details underneath, so I think I'll > continue to use custom field types marked with an IRelationshipField > interface, and assume the built-in Object, List fields are only used > for containment. T

Re: [Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Sean Upton
On Fri, Jun 6, 2008 at 7:24 AM, Fred Drake <[EMAIL PROTECTED]> wrote: > Still another approach, if you're looking to create software support > and the first isn't suitable, is to use fields that provide additional > interfaces that indicate the nature of the references. My application (and I suspe

Re: [Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Fred Drake
On Fri, Jun 6, 2008 at 4:54 AM, Sean Upton <[EMAIL PROTECTED]> wrote: > I want to be able to spell out certain zope.schema.Object fields in my > interfaces as "contained" while other fields are declared as Are you using a source or vocabulary? If so, this could be part of the nature of the values