Zope problem: objectValues('Folder')
Lee Harr
missive at frontiernet.net
Fri Jul 11 02:20:58 EDT 2003
In article <3F0D4C74.5040304 at gmx.de>, Jens Riedel wrote:
> The problem seems to be somewhere else:
>
> I used the objectValues('Folder')-method in a DTML-method named
> 'navigation'. I include <dtml-var navigation> in a
> 'standard_html_header' DTML method, and this standard_html_header is
> used in the index_html document.
> All three are in the same folder which contains 3 Subfolders. If I view
> 'navigation' or 'standard_html_header' in the management area, I see the
> 3 folders, but in the index_html they don't appear. Everything else in
> the standard_html_header, like stylesheets etc. are correctly shown so
> I'm sure that the correct standard_html_header is included.
>
> Jens
>
Is index_html a DTML_Document, maybe?
In that case, I think objectValues() would look in the index_html for
its objects, instead of the containing folder.
Try creating a new DTML_Method and putting your code in there.
More information about the Python-list
mailing list