[Zope] simple but annoying

Dylan Reinhardt Dylan@DylanReinhardt.com
Sun, 03 Nov 2002 19:10:02 -0800


DTML Methods don't have their own namespace, they use that of their 
parent.  That's why you're getting the title/id of the containing folder.

Use a DTML Document instead... that should give you what you want.

HTH,

Dylan

At 03:47 AM 11/4/2002 +0100, you wrote:

>i have the following problem: i have a dtml method with a title
>property set, and in the dtml i include standard_html_header, which
>contains <title><dtml-var title_or_id></title>.
>
>i dont get the dtml method's title rendered, but the containing folder's
>id . if i set a title property for the folder, it renders that, but i
>have multiple dtml methods which all have different titles so its
>obvious...
>
>
>                 -jonathan
>
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )