[Zope] Unauthorized fixed--now the page is blank
Dieter Maurer
dieter@handshake.de
Tue, 17 Sep 2002 21:05:48 +0200
Chris Africa writes:
> Yes, there are more than 100 LocalFS objects.
>
> The LocalFS objects and index are all at the same level inside the folder
> "Financials." The code for the index (a DTML document) is using aq_parent as
> follows:
>
> <dtml-in expr="aq_parent.objectValues('[Local File System]')" sort="id"
> skip_unauthorized>
Not sure, how "aq_parent" works for a DTML Document.
Try to avoid DTML Document in favour of DTML Method.
"aq_parent" will then be resolved with respect to the DTML Method's
"client". If you do not know what this is, read the "Calling
DTML objects" section in
<http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>
Dieter