On 2008-08-31 22:51:38 +0200, Marius Gedminas <[EMAIL PROTECTED]> said:
> > > > > On Sun, Aug 31, 2008 at 10:23:00PM +0200, Christian Zagrodnick wrote: >> Wait. zope.schema really shouldn't know about terms. Terms are about=20 >> the user interface, hence title/token. That has really *nothing* to do=20 >> with zope.schema. For searching you don't need titles or tokens. For a=20 >> search *UI* you do, but that doesn't belong to zope.schema either. > > Are you arguing that zope.schema.Field should not have a title > attribute? No no no, sorry :) I only don't see why I need titles for a source all the time. If you need both tied toogether (which frankly quite often is the case) zc.sourcefactory does the right thing (for me). If you just need to define a set of values you can just define the source (i.e. __contains__). -- Christian Zagrodnick · [EMAIL PROTECTED] gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1 Zope and Plone consulting and development _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )