[Zope] dtml-with semantics
Tony McDonald
tony.mcdonald@ncl.ac.uk
Mon, 25 Oct 1999 11:12:40 +0100
At 4:21 pm -0500 23/10/99, John Goerzen wrote:
>Hi,
>
>I have a situation like this. I am in a subdirectory ("subfolder" I
>guess) a few levels deep. I want to call a DTML method in /Boxes
>(that is, from the top). So, I first think, hmm, <dtml-var
>/Boxes/MyMethod>. No dice. Then I try:
>
><dtml-with Boxes>
> <dtml-var MyMethod>
></dtml-with>
>
>However, this dtml-with overrides some things from my document -- most
>importantly, id in this case.
>
>How can I solve this problem?
There's a good discussion at
http://www.zope.org/Members/michel/HowTos/NameSpaceHow-To
maybe you can use
<dtml-with Boxes only>
</dtml-with>
? - untested...
hth
tone
------
Dr Tony McDonald, FMCC, Networked Learning Environments Project
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2