Re: [Zope3-Users] Custom Image Widget

2006-12-15 Thread Tom Dossis
Adam Summers wrote: Hi Tom Widget Afficionados. Thanks for the help so far. My problem is now this: From this code (which Tom supplied), how do I code the logic (in bold) def _toFieldValue(self, input): data = super(ImageWidget, self)._toFieldValue(input)

[Zope3-Users] better selection widget

2006-12-15 Thread Dennis Schulz
also if this is just to select a supplier from the table, i'd recommend having a look at the vocabulary framework... i put together a really simple one for the states vocabulary in orgpeople, but you can do more complex examples, see zope.schema/sources.txt it allows you to bind a vocabulary