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? Thanks, John -- John Goerzen Linux, Unix consulting & programming jgoerzen@complete.org | Developer, Debian GNU/Linux (Free powerful OS upgrade) www.debian.org | ----------------------------------------------------------------------------+ The 64,864,100th prime number is 1,292,343,109.
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
participants (2)
-
John Goerzen -
Tony McDonald