[Zope-dev] calling dtml method with same name up the hierarchy.
Neil K
NeilK@ActiveState.com
Mon, 6 Nov 2000 11:04:46 -0800
I'd like to be able to nest footers and headers.
The thing I would expect is to have a standard_html_footer DTML method in
the root, then be able to have standard_html_footers in subfolders which add
their stuff, then call the root one.
like:
/standard_html_footer:
(c) 2000 Warner Brothers
/merrie_melodies/standard_html_footer:
That's all folks!
<dtml-var standard_html_footer>
Of course this causes infinite recursion now. So is there a decent way to
explicitly call the "super" standard_html_footer, without renaming files or
copying data in multiple places?
--
Neil Kandalgaonkar <NeilK@ActiveState.com>
Web Application Developer, ActiveState