Danny,

Try something like

<dtml-var "_[id_you_created]">

or

<dtml-var "_.getitem(id_you_created,1)">

hth

Phil

----- Original Message ----- 
From: "Danny William Adair" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 24, 2000 6:50 PM
Subject: [Zope] Calling objects by name


| How can I render an object in DTML if I have its id as a string?
| I would like to construct its name as a string and then call the object
| variable by its name.
| (Meaning I will have to make sure such an object exists)
| 
| tia,
| 
| CU+Prost,
| 
| Danny
| 
| 
| _______________________________________________
| Zope maillist  -  [EMAIL PROTECTED]
| http://lists.zope.org/mailman/listinfo/zope
| **   No cross posts or HTML encoding!  **
| (Related lists - 
|  http://lists.zope.org/mailman/listinfo/zope-announce
|  http://lists.zope.org/mailman/listinfo/zope-dev )


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to