[Zope] upload into a ZObject

David H bluepaul at earthlink.net
Sun May 1 15:11:22 EDT 2005


u1207440 wrote:

>Does anyone know how to upload a file or an image into a ZObject?
>
>I have created a simple ZClass that makes ZObjects to simulate book information like title, author, etc. I have selected to upload images and files into the ZObject, but I don't have a clue what dtml codes I should use to do that.
>
>Can anyone give me some pointers??
>
>Also, if I have a book object that was stored in either one of two folders a and b (assuming don't know where) and I need to get its internal information like the book title and author, how do I look for it using dtml??
>_______________________________________________
>Zope maillist  -  Zope at zope.org
>http://mail.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - 
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>  
>
Hi ul207440,
It happens that "The Book of Zope", edited by Casey Duncan covers both
zClasses and has examples of book classes.

David




More information about the Zope mailing list