[Zope] <dtml-with> and PARENTS[0]

Tim Hicks Tim Hicks" <tim.hicks@iname.com
Thu, 31 Aug 2000 14:45:41 +0100


----- Original Message -----
From: "Geir Bfkholt" <geirh@funcom.com>
To: "Tim Hicks" <tim.hicks@iname.com>
Cc: <zope@zope.org>
Sent: Thursday, August 31, 2000 2:30 PM
Subject: Re: [Zope] <dtml-with> and PARENTS[0]


> on Thursday, August 31, 2000 Tim Hicks wrote :
> TH> OK, I have a standard_html_header for my site that uses the
following
> [snip]
> TH>....with the correct property being
> TH> inserted, however, <dtml-var id> results in the id of the parent
> TH> folder of standard_html_header being inserted, instead of the id
of
> TH> the zclass.  Could anyone point out how I can get hold of the
zclass
> TH> id?
>
> first of all :
> make sure your standard_html_header is a method, not a
> document....
>

Yup, definitely a method.  Out of interest, if it were a document, why
would all of the <dtml-var's> work except id?

tim

> --
> Geir Bækholt
> web-developer/designer
> geirh@funcom.com
> http://www.funcom.com
>
>
>