[Zope-dev] manage_workspace changes

Florent Guillaume fg at nuxeo.com
Wed Oct 22 06:25:32 EDT 2003


In article <16274.18796.135508.105635 at 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 at nuxeo.com



More information about the Zope-Dev mailing list