[Zope] rendering a variable defining the name of a Zclass instantiation

Stephan Richter srichter@cbu.edu
Thu, 27 Apr 2000 02:18:21 -0500


At 12:28 AM 4/27/00 -0600, Fusion Group wrote:

>I'm defining a variable in a let tag by dynamically  creating the name of 
>a Z Class instantiation.  When I render the variable in a with tag 
><dtml-with "_[VariableName]" It throws a KeyError exception in 
>careful_gettime() from DT_Util.  If I hard code the same object name, it 
>works just fine.  I can't figure out how to render a variable that defines 
>the name of an object that is not part of my DTML method. Any help would 
>be greatly appreciated.

Please provide us with your code and the traceback you got.

Regards,
Stephan
--
Stephan Richter - (901) 573-3308 - srichter@cbu.edu
CBU - Physics & Chemistry; Framework Web - Web Design & Development
PGP Key: 735E C61E 5C64 F430 4F9C 798E DCA2 07E3 E42B 5391