[Zope] Newbie Question: File upload in from my own Product

Dieter Maurer dieter@handshake.de
Thu, 21 Sep 2000 00:59:22 +0200 (CEST)


Dicken, Peer writes:
 > I´m new to Zope ;) I´m currently composing a set of products for my website
 > and have a little problem now:
 > I need to make a Product that makes it possible to upload a file, well,
 > basically a tuned "FILE" object.
 > I need to add a description. Is it right to add the FILE object in my
 > ZClass, or what should I do?
That is one option.

However, images have properties of their own.
You can just define a new property "description" and give it
a value.

Look at the "PropertyManager" interface (-> object reference
(-> zdp.zope.org) or interface Wiki (-> dev.zope.org)
or the source.



Dieter