Godefroid Chapelle wrote:
is there a way to know the name of the navigation page object inside
the viewlet?
Inside a viewlet, you have access to the following preset variables :
slot, slots, composite, viewlet.
IIRC composite is the navigation page itself.
Godefroid:
I've been checking the source code and testing this in many ways for
more than an hour and I don't find the way to access those preset variables.
none of these work:
<p tal:content="composite" />
<p tal:content="context/composite" />
<p tal:content="python:getattr(context,'composite',None)" />
could you please give me a clue?
saludos
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers