[Zope] <dtml-with> Question

Sascha Matzke Sascha Matzke <sascha@bespin.de>
Sun, 10 Oct 1999 20:21:50 +0200


Hallo,

On Sun, Oct 10, 1999 at 02:16:12PM -0400, Kevin Dangoor wrote:
> It sounds like you're basically trying to do a namespace lookup.
> 
> <dtml-with "_[objA]">
> should do what you want.

It doesn't...

I have an variable named item with the value "Desk.Test.index_html".

When I do 

<dtml-with "Desk.Test.index_html">
	   something
</dtml-with>

everything works fine.

But when I try 

<dtml-with "_[item]">
	   something
</dtml-with>

I get

Error Type: KeyError
Error Value: Desk.Test.index_html

Sascha
-- 
.-> Sascha Matzke - sascha@bespin.de - http://www.bespin.de -.
|   Macht kaputt was euch kaputt macht...                    |
|                                       Ton Steine Scherben  |
`-- On this earth for  23 years,  362 days  <----------------'