22 Oct
2003
22 Oct
'03
10:25 a.m.
In article <16274.18796.135508.105635@gargle.gargle.HOWL> you write:
Unfortunately, returning "getattr(self,method)(self,REQUEST)" requires the method to be DTML like and breaks if this is not the case.
Note that this particular problem can easily be cured by the standard if getattr(aq_base(ob), 'isDocTemp', 0) test (see CMFCore/PortalContent.py for an example). Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com