[Zope-CMF] permlink issue with folders (because they acquire?)

Gregoire Weber gregweb at gmx.ch
Fri Aug 6 19:31:23 EDT 2004


I added the permalink feature discussed yesterday.

Doing that I encountered a problem:

   Folders are not callable (raising a AttributeError: no __call__ method).

That's why I had to suppress showing the permalink line on folderish 
objects in the 'main_template'. It works now but I'm pretty sure it is not 
optimal how I've done it.

As I don't have time to investigate till wednesday evening I'll have a look 
at it in the beta phase.

How to check for folderisch objects if they have a __call__ method?

Gregoire



More information about the Zope-CMF mailing list