[Zope] newbie DTML - getting properties of another DTML-doc
Martijn Pieters
mj@antraciet.nl
Wed, 15 Sep 1999 13:16:18 +0200
At 12:10 15/09/99 , Geir B Hansen wrote:
> > Are you sure it is a DTML Document and not a DTML Method?
>
> >
> > --
> > Martijn Pieters, Web Developer
>
>
>Absolutely sure. DTML-document, it is.
>
>If i put the <#--var bobobase_modification_time --> inside the document
>and call the document with :
><!--#with content-->
><!--#var news-->
><!--#/with-->
>..it works fine !
>- but i have to get the bobobase_modification_time from outside the
>document, and i am totally stuck...
>
>I suspect it has to do with the namespace-stack or something, but i have
>not really grasped that part yet..
Hmm.... How about:
<dtml-with content>
<dtml-var "news.bobobase_modification_time()">
</dtml-with>
--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------