just derive your product from simpleitem and you are done! Robert Chris A. Bruce wrote:
Thanks a lot. I do need to special handling. I will look at the classes and methods you listed below, but any examples would be great!
Regards,
Chris
-----Original Message----- From: Tino Wildenhain [mailto:tino@wildenhain.de] Sent: Fri 9/6/2002 11:47 AM To: Chris A. Bruce Cc: Subject: Re: [Zope] Adding FTP and WEBDAV support to Product
On 2002.09.06 20:21 Chris A. Bruce wrote:
Can some please tell me what I need to include with my product code to support FTP and WEBDAV. I have never developed a product before, and I am not sure which classes I should extend, or if there is somekind of interface I need to use?
Any help is greatly appreciated!
Hi Chris,
it depends on your product if it needs special handling of WEBDAV and FTP. For most cases, ie edit content, download source Zope handles it already if you subclass some of the standard classes like Folder, Objectmanager or PageTemplate. If you need special handling, look for manage_FtpGet (or so ;) in the code of these products and their parents. If you want to customize creating of objects of your classes via WebDAV and FTP, you should look at the NullResource handling of ObjectManager and the __getattr__ method. Unfortunately it is a bit overcomplicated in this area. I can try to compile some samples of what I've done with it, if time permits.
Regards Tino
f?^????+-f?^Î^??!??Á¿?X?????+??Y???b?ا~?íí·????h??(?t?-?ܡا??j×?+-?m????lÎ^??????????+-?w??:)y????zm????lÎ^??????????+-?w??:)yׯ