Zope, ZPT and slots

Jaroslaw Zabiello hipertracker at gmail.com
Tue Sep 13 08:05:11 EDT 2005


I would like to lauch macro from another zpt file. It is easy, of course,
but the problem is I would like the macro could has access to title_or_id
attribute of its caller. I read API, tried template/id, context/id and
container/id but without results.

<span tal:content="template/id"/> displays only own id, not its caller :(

<span tal:content="context/id"/> displays only id of the folder where this
zpt file and its macro is located. The same is for
tal:content="container/id"/>  ;(

-- 
JZ



More information about the Python-list mailing list