[Zope] rendering a variable defining the name of a Zclass instantiation
Fusion Group
Fusion Group" <contact@the-fusion-group.com
Thu, 27 Apr 2000 00:28:15 -0600
This is a multi-part message in MIME format.
------=_NextPart_000_0032_01BFAFDF.7A827100
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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.
Thanks,
Chad
------=_NextPart_000_0032_01BFAFDF.7A827100
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Gill Sans" size=3D1>
<P><FONT face=3DArial size=3D2>I'm defining a variable in a let tag by=20
dynamically creating the name of a Z Class instantiation. =
When I=20
render the variable in a with tag <dtml-with "_[VariableName]" It =
throws a=20
KeyError exception in careful_gettime() from DT_Util. If I hard =
code the=20
same object name, it works just fine. I can't figure out how to =
render a=20
variable that defines the name of an object that is not part of my DTML =
method.=20
Any help would be greatly appreciated.</FONT></P>
<P><FONT face=3DArial size=3D2>Thanks,</FONT></P>
<P><FONT face=3DArial =
size=3D2>Chad</FONT></P></FONT></DIV></BODY></HTML>
------=_NextPart_000_0032_01BFAFDF.7A827100--