[Zope-CMF] transparent folder

David Hart dhart@atlantisblue.com.au
Fri, 07 Mar 2003 23:53:16 +1100


Stefan H. Holek wrote:

> inline_content.invokeFactory(id=object_id, type_name='Document')
>
> I would guess that inline_content is not derived from PortalFolder and 
> thus does not have the 'invokeFactory' method. Consequently 
> 'invokeFactory' is acquired from the parent folder. Possible? 


Doh! Okay, I feel stupid now. I didn't update the script that creates 
inline_content.

I'm new to programming Zope products, so the behaviour seemed really 
strange, but now that I think about what was happening, it all makes 
perfect sense. :)

Dave Hart