[Product-Developers] getting CompositePack's Navigation Page from a viewlet
Héctor Velarde
hvelarde at jornada.com.mx
Fri Jan 18 02:49:11 UTC 2008
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
More information about the Product-Developers
mailing list