Casey Duncan writes:
> The following should work in your nested standard_html_footer to call the
> higher level one without infinite recursion:
> <dtml-with "PARENTS">
> <dtml-var standard_html_footer>
I fear this solution is very unstable.
"PARENTS" is defined by the URL path (loosely spoken).
This means, what "PARENTS" is depend on the number of path
components in the URL. If there are sufficiently many components,
you will get the infinite loop again.
I think, there is no reliable way when "standard_html_footer"
is a DTML method, as such an object has no way to access itself.
With an DTML document, you may have a chance (I did not check):
you would need an external (maybe Python) method
'''returns 'o's container.'''
You could then try:
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -