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)
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