[Zope] binary data
Geir Bækholt
Geir Bækholt
Thu, 14 Jun 2001 11:27:39 +0200
Klaus,
use manage_addFile just like you would in a normal folder..
ObjectManager is the superclass that Folder uses to get it's
'folderish' behaviour, so if your zclass inherits from ObjectManager
as well, it will behave like a folder when it comes to containing
objects..
You can keep files, images DTMLdocuments, other zclasses , - whatever
you like in it.....
:-)
>>
>> - when doing this , it will act as a regular folder in most respects
>> (as far as containing stuff anyway),
>> allowing you to have as much binary data in as many files as you
>> want....
>>
>> :-)
>
> that sounds great!
> but how do i actually attach the files? addProperty?
> i need one file for the constructor, right? i mean, the var "file" has
> to be defined when i add an instance.
>
> thanks!
> Klaus
--
Geir Bækholt web-developer/zopatista
geirh@funcom.com funcom oslo | webdev-team
<!-- PGPid : 0x90B47B20 -->