+-------[ Geoff Armstrong ]----------------------
| on 1/23/01 12:34 PM, Oleg Broytmann at [EMAIL PROTECTED] wrote:
|
| In DTML there doesn't seem to be a way of saying, "I have this string with
| the name of an object, now fetch me the object."

if objectname is actually a variable with the name...

<dtml-with "_.getitem(objectname,0)">

or <dtml-call "REQUEST.set('fooobject',_.getitem(objectname,0))"> to
get the object into a variable to pass or manipulate.

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   | 
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |[EMAIL PROTECTED]| 

_______________________________________________
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