[Zope] dtml-with & misbehaving strings

Thomas thomas@madeforchina.com
Wed, 02 Feb 2000 01:28:43 +0800


Hi everyone,

I have a folder with a property. In a method within this folder I try the
following:

<dtml-with "_[myproperty]">
grab some stuff
</dtml-with>

where  myproperty is a string equal to Games.Whatup

Both 'Games' and 'Whatup' are objects.  So I am trying to
drill down my directory and stack the namespace via the with 
tag, but I get the following message:

Error Type: KeyError
Error Value: Games.Whatup


I want it to to do the following (which works fine):

<dtml-with "Games.Whatup">
grab some stuff
</dtml-with>


Am i missing something here?  Thanks for any help and hints in advance.

Thanks,
Thomas