[Zope] How to test a file ?

Martijn Pieters mj@antraciet.nl
Wed, 08 Sep 1999 11:53:42 +0200


At 11:30 08/09/99 , Arnaud Lecat wrote:
>You're right it doesn't work :) Here is my problem... Imagine this
>
>|_ myfolder (folder)
>|              |_ mydocument (document)
>|
>|_ mysidebar (method)
>
>mydocument is the current displayed document (its a document, not a method)
> From my document I call mysidebar. How can I get the id of mydocument ???
>If I use <dtml-var id> it returns the id of myfolder :(

Use document_id

--
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
------------------------------------------