Re: [Zope] PUT_Factory question (quick ;-)
On Thu, 12 Apr 2001 13:31:24 +0100, Chris Withers <chrisw@nipltd.com> said: Hi Chris,
CW> Will WebDAV use a PUT_factory if it's there? cheers, CW> Chris I use it in Zope 2.3.0 to import instances of my own Python products over HTTP into ZODB (as webDAV client used MSIE 5.0) It works OK for me. But in my case I had to hack a little NullResource.py in webdav/ of Zope for my purposes. I am not sure if it is OK in all cases that NullResource inherits from Acquisition also. In my case I have a python product ISNGFolder (PUT_factory is defined only here) which inherits from classical Zope Folder. And when I have this structure in ZODB: ISNGFolder/ ZopeFolder/ then PUT_factory of ISNGFolder is called when I try to put over webDAV into ZopeFolder. This is what I had to hack. Petr -- Petr Knápek Network Development NEXTRA Czech Republic s.r.o. http://www.nextra.cz/ V Celnici 10 / CZ - 117 21 Praha 1 / Czech Republic Tel: +420/2/96 355 111 / Mobile: +420/604-202 611 E-Mail: petr.knapek@nextra.com Contact address: Hlinky 114 / CZ - 603 00 Brno / Czech Republic Tel: +420/5/43 554 150 see Disclaimer http://www.nextra.cz/disclaimer/
participants (1)
-
Petr Knapek