Re: [Zope3-Users] "Smarter" values for values = [] in Choice schema fields?

2008-11-06 Thread Marius Gedminas
On Thu, Nov 06, 2008 at 02:13:56PM +0100, Hermann Himmelbauer wrote: > I quite often have Choice schema fields in my applications. In many cases, > these choice fields should have fixed values, thus I do it like this: > > color = Choice( title=u"Color", values=['red', 'green', 'yellow']) > > My

Re: [Zope3-Users] "Smarter" values for values = [ ] in Choice schema fields?

2008-11-06 Thread Hermann Himmelbauer
Am Donnerstag 06 November 2008 17:30:27 schrieb Marius Gedminas: > On Thu, Nov 06, 2008 at 02:13:56PM +0100, Hermann Himmelbauer wrote: > > I quite often have Choice schema fields in my applications. In many > > cases, these choice fields should have fixed values, thus I do it like > > this: > > >