[Zope] Re: Filling a metal slot which name is known only at run time

Evan Simpson evan at tokenexchange.com
Tue Dec 14 12:18:21 EST 2004


Martin Aspeli wrote:
> I'm creating a content type which composes the views of several objects  
> (the exact objects are picked by the end user) into a single view.  
> Developers can write a page template with a macro called  
> "CompositeListing" and register this template with a tool. Once  
> registered, users can pick the template as a layout for the composite  
> listing page.

I'm having trouble grasping this, or at least what the content object 
*does* with the macro.  What is it filling the slots with, and how does 
it decide which slots to fill with what, if the slots aren't uniform 
from template to template?

Cheers,

Evan @ 4-am



More information about the Zope mailing list