[Zope-dev] PUT_factory

Garito garito at sistes.net
Wed Feb 25 12:17:33 EST 2004

Hi, all 

I try to override PUT_factory method in my container product

I read in several webpages I need to create a PUT_factory method in my product to override these mechanism
These method could be like:

def PUT_factory(self, name, typ, body):
    return ZopePageTemplate(name, body, content_type=typ)

In these case all the objects created by the WebDAV/FTP services will be ZopePageTemplates but these code doesn't work! :(

Can anyone explain me the correct solution?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20040225/7a346d48/attachment.html

More information about the Zope-Dev mailing list