[Zope] ZTP here vs container

Julien Jalon jj@nuxeo.com
Sun, 9 Jun 2002 14:19:33 +0000 (UTC)


Tim  <tim@xxvii.net> wrote:
><p tal:content="container">container</p>
><p tal:content="here">here</p>
><p tal:content="here/get_folders">here/folders</p>
>
>And then access the page template from subfolders, i can see the value
>of "container" always stays the same (of course), and the value of
>"here" changes (as I'd expect), yet the list returned by
>"here/get_folders" always stays the same, where i would expect it to
>change with its context (but it continues to always list of folders
>from the root container)...

What is the code of get_folders?

If it is a python script, be sure it uses context and not container.

-- 
Julien Jalon
<http://nuxeo.com/>