[Zope] Interesting name space question

Kevin Carlson khcarlso@bellsouth.net
Fri, 20 Dec 2002 16:34:32 -0500


I am curious if the following is possible in dtml...

I have a dtml-method named index_html.  It calls a dtml-method named
page_header.  Is it possible for the code in page_header to obtain the title
of the index_html method?

For example:

index_html: (Title set to "Home")
   <dtml-var page_header>

page_header:
   <dtml-var Title of calling dtml method>

I have been searching through the archives and such but since dtml-methods
look up variables in the containing namespace, I'm not sure if this is a
possibility.

Any ideas?