24 Feb
2003
24 Feb
'03
10:07 p.m.
I think this might work: setattr(self, 'file.htm', PageTemplateFile('www/file.htm', globals())) Tim wrote:
Via the ZMI i can create an object with a . in the name (for example, an object with an id 'file.htm'); how can this be done in a disk based product? For example, the following obviously won't work:
file.htm = PageTemplateFile('www/file.htm', globals())
There must be a trick, since the ZMI can do it?
_______________________________________________ Zope maillist - Zope@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 )