23 Feb
2000
23 Feb
'00
11:27 p.m.
Hmm, I'm not sure if this will work but can you pass the _ namespace and use _.getattr? Ugly... -Michel Kevin Dangoor wrote:
I'm running Zope 2.1.4 and PythonMethod 0.1.7, and I'm running into an AttributeError for "validate" when I do:
dtml = getattr(self, 'popular.html')
I don't know of another way to get at "popular.html" from python. This line is definitely the issue though...
The method is called with self, REQUEST as parameters.
Any ideas?
Kevin
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )