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

2000-09-20 Thread Dicken, Peer

Hi,

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?

 
 
MfG / best regards, 
 
Peer Dicken
 
IMD GmbH 
Softwareentwicklung  Unternehmensberatung
Edisonstr. 1
59199 Bönen
 
Tel.: +49 23 83 - 9191-0
Fax.: +49 23 83 - 919191

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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

2000-09-20 Thread Dieter Maurer

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

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )